:root { --lm-dark:#0b3d2e; --lm-green:#1b7a4b; --lm-light:#f2f5f3; --lm-gold:#c9a227; }
html { scroll-behavior: smooth; }
section[id], header[id], footer[id] { scroll-margin-top: 64px; }
body.ld { font-family:'Noto Sans','Noto Sans Lao','Phetsarath OT',system-ui,sans-serif; color:#1d2b24; background:#fff; }
.lm-green { color: var(--lm-green); }
.btn-lm { background: var(--lm-green); color:#fff; border:0; }
.btn-lm:hover, .btn-lm:focus { background: var(--lm-dark); color:#fff; }
.ld-btn-gold { background: var(--lm-gold); color:#1d1a05; font-weight:700; border:0; }
.ld-btn-gold:hover { background:#ddb52f; color:#1d1a05; }
.lm-lang .btn { padding-top:.25rem; padding-bottom:.25rem; }
.lm-lang .btn:hover, .lm-lang .btn.show { background:#fff; color: var(--lm-green); }
.lm-flag { width:22px; height:15px; object-fit:cover; border-radius:3px; box-shadow:0 0 0 1px rgba(0,0,0,.18); flex-shrink:0; }
.lm-lang-menu { min-width:11rem; border:0; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.2); padding:.35rem; }
.lm-lang-menu .dropdown-item { border-radius:8px; font-weight:600; }
.lm-lang-menu .dropdown-item.active { background: var(--lm-green); color:#fff; }

/* Navbar */
.ld-nav { background: var(--lm-dark); border-bottom:3px solid var(--lm-gold); transition: box-shadow .2s; }
.ld-nav.scrolled { box-shadow:0 4px 18px rgba(0,0,0,.25); }
.ld-brand { display:inline-flex; align-items:center; gap:.65rem; color:#fff; text-decoration:none; padding:.15rem 0; }
.ld-brand:hover { color:#fff; }
.ld-logo { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:linear-gradient(145deg,#e0bb3c,var(--lm-gold)); color:var(--lm-dark); font-size:1.4rem; box-shadow:0 3px 10px rgba(0,0,0,.28), inset 0 -3px 0 rgba(0,0,0,.12); transition:transform .15s; }
.ld-logo-img { height:44px; width:auto; max-width:120px; object-fit:contain; flex-shrink:0; }
.ld-brand:hover .ld-logo { transform:rotate(-6deg) scale(1.05); }
.ld-brand-txt { display:flex; flex-direction:column; line-height:1.05; }
.ld-brand-txt b { font-weight:800; font-size:1.35rem; letter-spacing:.03em; }
.ld-brand-txt em { font-style:normal; color:var(--lm-gold); }
.ld-brand-txt small { font-size:.62rem; letter-spacing:.32em; text-transform:uppercase; opacity:.7; margin-top:3px; }
.ld-nav .nav-link { color:rgba(255,255,255,.85); font-weight:600; }
.ld-nav .nav-link:hover { color: var(--lm-gold); }

/* Hero */
.ld-hero { background: radial-gradient(900px 400px at 85% 0%, rgba(201,162,39,.22), transparent 60%), linear-gradient(135deg, var(--lm-dark), #12603f 70%, var(--lm-green)); color:#fff; padding:5rem 0 6rem; }
.ld-eyebrow { display:inline-block; padding:.25rem .8rem; border:1px solid rgba(255,255,255,.35); border-radius:99px; font-size:.85rem; letter-spacing:.04em; margin-bottom:1rem; }
.ld-h1 { font-weight:800; font-size:clamp(2.6rem,6vw,4.2rem); letter-spacing:.04em; margin-bottom:1rem; }
.ld-h1::after { content:''; display:block; width:84px; height:4px; background: var(--lm-gold); margin-top:.6rem; border-radius:2px; }
.ld-lead { font-size:1.1rem; opacity:.9; max-width:34rem; margin-bottom:1.75rem; }

/* Hero ມີຮູບພື້ນຫຼັງ: ຊັ້ນສີຂຽວທັບຮູບ (ປັບຄວາມເຂັ້ມຜ່ານ --hero-ov) ເພື່ອໃຫ້ຕົວໜັງສືອ່ານງ່າຍ */
.ld-hero.has-bg { background-color: var(--lm-dark);
  background-image: linear-gradient(135deg, rgba(11,61,46,var(--hero-ov,.55)), rgba(18,96,63,var(--hero-ov,.55))), var(--hero-img);
  background-size: cover; background-position: center; background-repeat: no-repeat; }
.ld-hero.has-bg .ld-lead { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
/* ໂໝດ "ເຫັນຮູບທັງໝົດ": ຄວາມສູງ Hero ຕາມອັດຕາສ່ວນຂອງຮູບ (--hero-ratio) → ບໍ່ຕັດຂອບ ບໍ່ບິດເບືອນ; ເນື້ອຫາຫຼາຍກວ່ານັ້ນ (ມືຖື) Hero ຈະຂະຫຍາຍເອງ */
.ld-hero.has-bg.fit-full { aspect-ratio: var(--hero-ratio, 1.7778); display:flex; align-items:center; padding-top:2.5rem; padding-bottom:2.5rem; }
.ld-hero.has-bg.fit-full > .container { width:100%; }

/* Sections */
.ld-sec { padding:4.5rem 0; }
.ld-soft { background: var(--lm-light); }
.ld-dark { background: var(--lm-dark); color:#fff; border-top:3px solid var(--lm-gold); }
.ld-title { font-weight:800; text-align:center; margin-bottom:2.5rem; color: var(--lm-dark); position:relative; }
.ld-title::after { content:''; display:block; width:56px; height:4px; background: var(--lm-gold); margin:.7rem auto 0; border-radius:2px; }
.ld-title.text-lg-start::after { margin-left:0; }
.ld-title.text-white { color:#fff; }
.ld-card { background:#fff; border-radius:14px; padding:1.4rem; box-shadow:0 6px 24px rgba(11,61,46,.10); border:1px solid #e3eae6; }
.ld-ic { display:inline-flex; width:52px; height:52px; border-radius:14px; align-items:center; justify-content:center; background:#e8f4ed; color: var(--lm-green); font-size:1.5rem; margin-bottom:.8rem; }
.ld-ic-lg { width:72px; height:72px; border-radius:50%; background:rgba(255,255,255,.12); color: var(--lm-gold); font-size:2rem; margin:0; }

/* Features */
.ld-tabs { display:flex; flex-wrap:wrap; justify-content:center; gap:.25rem 1.9rem; padding:0; border-bottom:1px solid #e5e7eb; }
.ld-tabs .nav-item { flex:0 0 auto; }
@media (max-width:767.98px) { .ld-tabs { flex-wrap:nowrap; justify-content:flex-start; gap:1.4rem; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; } .ld-tabs::-webkit-scrollbar { display:none; } }
.ld-tabs .nav-link { color:#222; font-weight:400; text-transform:uppercase; border-radius:0; white-space:nowrap; background:transparent; padding:.65rem .1rem; margin-bottom:-1px; border-bottom:3px solid transparent; line-height:1.4; }
.ld-tabs .nav-link:hover { color:#1e88e5; }
.ld-tabs .nav-link.active { background:transparent; color:#1e88e5; border-bottom-color:#1e88e5; }
.ld-panel { background:transparent; border:0; border-radius:0; padding:2rem 0 0; margin-top:1.5rem; box-shadow:none; }
.ld-checks { list-style:none; padding:0; margin:0; }
.ld-checks li { display:flex; align-items:center; gap:1.1rem; padding:.85rem 0; color:#222; }
.ld-checks .bi { color:#1e88e5; flex-shrink:0; font-size:1.25rem; -webkit-text-stroke:1px #1e88e5; }
#features .ld-title { font-weight:400; color:#222; }
#features .ld-title::after { width:120px; background:#f97316; }
.ld-art { display:inline-flex; width:min(100%,360px); aspect-ratio:1/1; border-radius:50%; align-items:center; justify-content:center; font-size:8rem; color:#1e88e5; background:radial-gradient(circle at 35% 30%, #e3f2fd, #bbdefb); box-shadow:inset 0 -10px 0 rgba(30,136,229,.12); }

/* Steps — เสັ້ນເວລາແນວນອນ: ເລກຢູ່ເທິງເສັ້ນ + ກາດສີຂາວຢູ່ລຸ່ມ */
.ld-tl { list-style:none; margin:0 auto; padding:0; display:flex; position:relative; max-width:1100px; }
.ld-tl.ld-tl-3 { max-width:825px; }
.ld-tl::before { content:''; position:absolute; left:0; right:0; top:18px; height:6px; border-radius:3px; background:linear-gradient(90deg, var(--lm-green), #12603f); }
.ld-tl > li { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; position:relative; z-index:1; }
.ld-tl-num { width:42px; height:42px; border-radius:50%; background:#fff; border:2px solid var(--lm-green); color:var(--lm-green); font-weight:700; font-size:1rem; display:flex; align-items:center; justify-content:center; transition:background .2s, color .2s, border-color .2s; }
.ld-tl-card { margin-top:1.1rem; width:170px; max-width:92%; min-height:150px; padding:1.3rem .8rem; background:#fff; border:1px solid #e3eae6; border-radius:12px; box-shadow:0 10px 30px rgba(11,61,46,.12); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.9rem; text-align:center; transition:transform .2s, box-shadow .2s; }
.ld-tl-card .bi { font-size:2.1rem; line-height:1; color:var(--lm-green); }
.ld-tl-card span { font-size:.95rem; font-weight:600; line-height:1.4; color:var(--lm-dark); }
.ld-tl > li:hover .ld-tl-card { transform:translateY(-4px); box-shadow:0 14px 34px rgba(11,61,46,.18); }
.ld-tl > li:hover .ld-tl-num { background:var(--lm-gold); border-color:var(--lm-gold); color:#1d1a05; }
@media (max-width:767.98px) {
  .ld-tl { display:block; max-width:520px; }
  .ld-tl::before { left:18px; right:auto; top:21px; bottom:21px; width:6px; height:auto; }
  .ld-tl > li { flex-direction:row; align-items:center; gap:1rem; margin-bottom:1rem; }
  .ld-tl > li:last-child { margin-bottom:0; }
  .ld-tl-num { flex:0 0 42px; }
  .ld-tl-card { margin-top:0; width:auto; max-width:none; flex:1; min-height:0; flex-direction:row; justify-content:flex-start; text-align:left; padding:.9rem 1rem; gap:.9rem; }
  .ld-tl-card .bi { font-size:1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .ld-tl-card, .ld-tl-num { transition:none; } .ld-tl > li:hover .ld-tl-card { transform:none; } }

/* Join + devices */
.ld-devices { display:flex; gap:1rem; font-size:2.2rem; color: var(--lm-green); }



/* Hero chips */
.ld-chips { list-style:none; display:flex; flex-wrap:wrap; gap:.5rem; padding:0; margin:0; }
.ld-chips li { display:inline-flex; align-items:center; gap:.45rem; padding:.3rem .85rem; border-radius:99px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); font-size:.88rem; font-weight:600; backdrop-filter:blur(2px); }
.ld-chips .bi { color: var(--lm-gold); }

/* Section sub-heading under title */
.ld-sub { max-width:42rem; margin-top:-1.5rem; margin-bottom:2.25rem; }
.ld-subhead { font-size:1.05rem; font-weight:700; text-align:center; color: var(--lm-green); margin-bottom:1.5rem; }


/* FAQ */
.ld-faq { max-width:820px; }
.ld-faq .accordion-item { border:1px solid #e3eae6; border-radius:12px !important; overflow:hidden; margin-bottom:.75rem; box-shadow:0 4px 14px rgba(11,61,46,.06); }
.ld-faq .accordion-button { font-weight:700; color: var(--lm-dark); background:#fff; }
.ld-faq .accordion-button:not(.collapsed) { background:#e8f4ed; color: var(--lm-dark); box-shadow:inset 3px 0 0 var(--lm-gold); }
.ld-faq .accordion-button:focus { box-shadow:0 0 0 .2rem rgba(27,122,75,.25); }

/* CTA band */
.ld-band { padding:3.5rem 0; color:#fff; background:radial-gradient(700px 300px at 15% 0%, rgba(201,162,39,.25), transparent 60%), linear-gradient(135deg, var(--lm-dark), #12603f 70%, var(--lm-green)); }

@media (max-width:575.98px) { .ld-hero { padding:3rem 0 4rem; } .ld-sec { padding:3rem 0; } .ld-panel { padding:1.25rem; } .ld-chips li { font-size:.8rem; } .ld-sub { margin-top:-1rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

/* ===== Hover effect ຂອງກາດ "ຜົນປະໂຫຍດ" (.ld-hov) — ຍົກຂຶ້ນ + ແສງຕາມເມົ້າ + ເສັ້ນຂຽວ→ທອງ + ໄອຄອນເຕັມສີ ===== */
.ld-hov { position:relative; overflow:hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.ld-hov > * { position:relative; z-index:1; }
.ld-hov::before { content:''; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0; transition:opacity .3s ease;
  background: radial-gradient(240px circle at var(--mx,50%) var(--my,0%), rgba(27,122,75,.16), rgba(201,162,39,.07) 45%, transparent 70%); }
.ld-hov::after { content:''; position:absolute; left:0; right:0; bottom:0; height:3px; z-index:2; pointer-events:none;
  background: linear-gradient(90deg, var(--lm-green), var(--lm-gold)); transform:scaleX(0); transform-origin:left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ld-hov .ld-ic { transition: background .3s ease, color .3s ease, transform .5s cubic-bezier(.3,1.6,.5,1), box-shadow .3s ease; }
.ld-hov p { transition: color .3s ease; }
.ld-hov:hover, .ld-hov:active { transform: translateY(-8px); border-color: rgba(27,122,75,.45); box-shadow: 0 20px 44px rgba(11,61,46,.20), 0 0 0 1px rgba(27,122,75,.10); }
.ld-hov:hover::before, .ld-hov:active::before { opacity:1; }
.ld-hov:hover::after, .ld-hov:active::after { transform:scaleX(1); }
.ld-hov:hover .ld-ic, .ld-hov:active .ld-ic { background: linear-gradient(135deg, var(--lm-green), #0f5a3c); color:#fff; transform: translateY(-3px) rotate(-8deg) scale(1.1); box-shadow: 0 10px 22px rgba(27,122,75,.40); }
.ld-hov:hover p, .ld-hov:active p { color: var(--lm-dark); }
@media (prefers-reduced-motion: reduce) { .ld-hov, .ld-hov .ld-ic, .ld-hov::after { transition:none; } .ld-hov:hover, .ld-hov:hover .ld-ic { transform:none; } }

/* ===== Hover effect ຂອງ "ຈຸດເດັ່ນ" (.ld-hl, ພື້ນຂຽວເຂັ້ມ) — ກອບແກ້ວ + ແສງທອງຕາມເມົ້າ + ໄອຄອນທອງເຕັມສີມີວົງຄື້ນ ===== */
.ld-hl { position:relative; overflow:hidden; padding:1.4rem 1rem 1.2rem; border-radius:18px; border:1px solid transparent;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.ld-hl > * { position:relative; z-index:1; }
.ld-hl::before { content:''; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0; transition:opacity .3s ease;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,0%), rgba(201,162,39,.22), rgba(255,255,255,.05) 50%, transparent 72%); }
.ld-hl .ld-ic { transition: background .3s ease, color .3s ease, transform .5s cubic-bezier(.3,1.6,.5,1); }
.ld-hl h3 { transition: color .3s ease; }
.ld-hl p { transition: opacity .3s ease; }
.ld-hl:hover, .ld-hl:active { transform: translateY(-6px); background: rgba(255,255,255,.06); border-color: rgba(201,162,39,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.ld-hl:hover::before, .ld-hl:active::before { opacity:1; }
.ld-hl:hover .ld-ic, .ld-hl:active .ld-ic { background: var(--lm-gold); color: var(--lm-dark); transform: scale(1.12) rotate(-8deg); animation: ldRing 1.4s ease-out infinite; }
.ld-hl:hover h3, .ld-hl:active h3 { color: #f0cf5f; }
.ld-hl:hover p, .ld-hl:active p { opacity:1 !important; }
@keyframes ldRing { 0% { box-shadow: 0 0 0 0 rgba(201,162,39,.55); } 100% { box-shadow: 0 0 0 20px rgba(201,162,39,0); } }
@media (prefers-reduced-motion: reduce) { .ld-hl, .ld-hl .ld-ic { transition:none; } .ld-hl:hover, .ld-hl:hover .ld-ic { transform:none; animation:none; } }
