/* =========================================================
   nivo technology — site styles (配合 Tailwind 使用)
   ========================================================= */
:root {
  --navy: #0f172a;
  --indigo: #1e40af;
  --accent: #2563eb;
  --sky: #0ea5e9;
  --paper: #f8fafc;
  --ink: #334155;
  --line: #e2e8f0;
  --header-h: 64px;

  /* 按语言切换的字体栈：拉丁字符统一用 Inter，其余字符回落到对应语种字体 */
  --font-zh: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-lo: "Inter", "Saysettha OT", "Phetsarath OT", "Noto Sans Lao Looped", "Noto Sans Lao", "Lao UI", sans-serif;
  --font-th: "Inter", "Prompt", "Kanit", "Noto Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
}
@media (min-width: 1024px) { :root { --header-h: 80px; } }

html { scroll-padding-top: calc(var(--header-h) + 8px); }
body { font-family: var(--font-zh); color: var(--ink); background: #fff; }
html[data-lang="en"] body { font-family: var(--font-en); }
html[data-lang="lo"] body { font-family: var(--font-lo); }
html[data-lang="th"] body { font-family: var(--font-th); }

/* ---------- 断行规则 / Line breaking ----------
   泰语与老挝语词间不使用空格，浏览器依赖 <html lang> 使用字典断词；
   禁止 break-all，保证不会在音节中间断开。 */
html[data-lang="zh"] body { line-break: strict; word-break: normal; }
html[data-lang="th"] body,
html[data-lang="lo"] body {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: normal;
  line-height: 1.8;           /* 上下标元音 / 声调符号需要更高行距 */
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 泰/老挝语标题行高需放宽，避免上标符号被裁切 */
html[data-lang="th"] :is(h1, h2, h3, .section-title, .hero-title, .mission-text, .assessment-title),
html[data-lang="lo"] :is(h1, h2, h3, .section-title, .hero-title, .mission-text, .assessment-title) {
  line-height: 1.45;
  letter-spacing: 0;
}
html[data-lang="th"] h1, html[data-lang="th"] h2, html[data-lang="th"] h3 { font-family: "Inter", "Prompt", "Kanit", sans-serif; }

/* ---------- Utilities ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.text-gradient {
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 45%, #818cf8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section { padding: 80px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section-head { max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
html[data-lang="lo"] .eyebrow, html[data-lang="th"] .eyebrow { letter-spacing: .02em; font-size: 14px; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); line-height: 1.25; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.section-desc { font-size: 1.0625rem; color: #64748b; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--indigo)); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 99, 235, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(37, 99, 235, .75); }
.btn-ghost-dark { color: #e2e8f0; border: 1px solid rgba(148, 163, 184, .35); background: rgba(255, 255, 255, .03); }
.btn-ghost-dark:hover { border-color: rgba(148, 163, 184, .7); background: rgba(255, 255, 255, .07); color: #fff; }
.btn-outline { color: var(--accent); border: 1px solid #bfdbfe; background: #fff; }
.btn-outline:hover { background: #eff6ff; border-color: var(--accent); }
@media (max-width: 639px) { .btn-lg { justify-content: center; white-space: normal; text-align: center; } }

/* ---------- Header ---------- */
.site-header { transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header .logo-dark { display: none; }
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06), 0 8px 24px -16px rgba(15, 23, 42, .25);
}
.site-header.is-scrolled .logo-light, .site-header.menu-open .logo-light { display: none; }
.site-header.is-scrolled .logo-dark, .site-header.menu-open .logo-dark { display: block; }

.nav-link {
  position: relative; display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: rgba(226, 232, 240, .9); transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #38bdf8);
}
.is-scrolled .nav-link { color: #475569; }
.is-scrolled .nav-link:hover, .is-scrolled .nav-link.active { color: var(--accent); }
html[data-lang="lo"] .nav-link, html[data-lang="th"] .nav-link { font-size: 14.5px; padding: 8px 10px; }

/* Language switcher */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, .3); background: rgba(255, 255, 255, .04);
  transition: all .2s;
}
.lang-btn:hover { border-color: rgba(148, 163, 184, .7); color: #fff; }
.is-scrolled .lang-btn, .menu-open .lang-btn { color: var(--navy); border-color: var(--line); background: #fff; }
.is-scrolled .lang-btn:hover, .menu-open .lang-btn:hover { border-color: #93c5fd; color: var(--accent); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -16px rgba(15, 23, 42, .3);
  animation: pop .16s ease-out;
}
.lang-menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 9px; font-size: 15px; color: var(--ink); text-align: left;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: #f1f5f9; outline: none; }
.lang-menu button[aria-selected="true"] { color: var(--accent); font-weight: 600; background: #eff6ff; }
.lang-menu .lang-code { font-size: 12px; color: #94a3b8; font-family: "Inter", sans-serif; }
.lang-menu [lang="lo"] { font-family: var(--font-lo); }
.lang-menu [lang="th"] { font-family: var(--font-th); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* Hamburger */
.menu-btn { width: 42px; height: 40px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.menu-btn span { width: 20px; height: 2px; border-radius: 2px; background: #e2e8f0; transition: transform .25s, opacity .2s, background-color .2s; }
.is-scrolled .menu-btn span, .menu-open .menu-btn span { background: var(--navy); }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-link { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; color: var(--navy); border-bottom: 1px solid #f1f5f9; }
.mobile-link:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: rgba(37, 99, 235, .45); }
.hero-glow-2 { width: 420px; height: 420px; bottom: -200px; left: -140px; background: rgba(14, 165, 233, .25); }

.hero-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem); line-height: 1.15; letter-spacing: -.02em; }
html[data-lang="en"] .hero-title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
html[data-lang="lo"] .hero-title, html[data-lang="th"] .hero-title { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem); }

.badge-dark {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: #bfdbfe; background: rgba(37, 99, 235, .12); border: 1px solid rgba(96, 165, 250, .25);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.pulse-green { background: #34d399; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.status-panel {
  position: relative; padding: 22px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(30, 41, 59, .85), rgba(15, 23, 42, .9));
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(8px);
  max-width: 460px; margin-left: auto; margin-right: auto;
  animation: float 7s ease-in-out infinite;
}
.status-panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(96, 165, 250, .6), transparent 40%, transparent 60%, rgba(56, 189, 248, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.status-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #34d399; background: rgba(16, 185, 129, .12); padding: 4px 10px; border-radius: 999px; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(148, 163, 184, .08); }
.status-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: #93c5fd; background: rgba(37, 99, 235, .15); flex-shrink: 0; }
.status-icon svg { width: 16px; height: 16px; }
.panel-metric { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(148, 163, 184, .08); }
.sparkline { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.sparkline span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #3b82f6, rgba(37, 99, 235, .25)); animation: grow 1.2s ease-out both; }
.sparkline span:nth-child(odd) { animation-delay: .1s; }
@keyframes grow { from { height: 8%; } }

.hero-stat { padding: 26px 8px; text-align: center; }
.hero-stat dt { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; color: #fff; font-family: "Inter", sans-serif; letter-spacing: -.02em; }
.hero-stat dd { margin-top: 4px; font-size: 13.5px; color: #94a3b8; }
@media (min-width: 1024px) { .hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, .08); } }
@media (max-width: 1023px) { .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); } .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); } }

/* ---------- About ---------- */
.check-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid #eef2f7; font-weight: 500; color: var(--navy); font-size: 15px; }
.check-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dbeafe; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.check-icon svg { width: 13px; height: 13px; }
.mission-card {
  position: relative; overflow: hidden; padding: 40px; border-radius: 28px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, #2563eb 0%, #1e40af 40%, #0f172a 100%);
  box-shadow: 0 40px 80px -40px rgba(30, 64, 175, .7);
}
@media (min-width: 1024px) { .mission-card { padding: 52px; } }
.mission-card img { filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3)) brightness(1.15); }
.mission-rings { position: absolute; width: 520px; height: 520px; right: -220px; bottom: -260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.mission-text { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.3; }
.chip-dark { font-size: 12.5px; font-family: "Inter", sans-serif; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbeafe; }

/* ---------- Services ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 22px; background: #fff;
  border: 1px solid #e8edf4; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: 0 24px 50px -24px rgba(30, 64, 175, .35); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--indigo)); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .7); }
.service-icon svg { width: 26px; height: 26px; }
.service-num { position: absolute; top: 26px; right: 30px; font-family: "Inter", sans-serif; font-size: 44px; font-weight: 800; color: #eef2ff; line-height: 1; }
.service-card h3 { font-size: 1.3rem; line-height: 1.35; font-weight: 700; color: var(--navy); }
.service-sub { font-size: 13px; font-weight: 500; color: #64748b; letter-spacing: .01em; }
.service-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.service-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: .7em; flex-shrink: 0; }
html[data-lang="lo"] .service-list li::before, html[data-lang="th"] .service-list li::before { margin-top: .8em; }
.service-card.featured { background: linear-gradient(155deg, #0f172a 0%, #172554 60%, #1e3a8a 100%); border-color: transparent; color: #cbd5e1; }
.service-card.featured h3 { color: #fff; }
.service-card.featured .service-sub { color: #93c5fd; }
.service-card.featured .service-num { color: rgba(255, 255, 255, .06); }
.service-card.featured .service-icon { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.service-card.featured .service-list li::before { background: #38bdf8; }
.slogan-box { position: relative; padding: 14px 16px 14px 18px; border-radius: 12px; background: rgba(56, 189, 248, .1); border-left: 3px solid #38bdf8; color: #e0f2fe; font-weight: 600; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(3px); }
.featured .card-link { color: #7dd3fc; }

.industry-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.industry-chip svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Why ---------- */
.why-card { position: relative; padding: 34px 30px; border-radius: 22px; background: var(--paper); border: 1px solid #eef2f7; overflow: hidden; transition: transform .3s, box-shadow .3s, background-color .3s; }
.why-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .3); }
.why-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #38bdf8); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.why-card:hover::after { transform: scaleX(1); }
.why-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 8px 20px -12px rgba(15, 23, 42, .25); }
.why-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* ---------- Process ---------- */
.process-step { position: relative; padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid #e8edf4; counter-increment: step; }
.process-list { counter-reset: step; }
.step-num { font-family: "Inter", sans-serif; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--accent); background: #eff6ff; border: 1px solid #dbeafe; }
.process-step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.process-step p { font-size: 14.5px; color: #64748b; }

/* ---------- Assessment ---------- */
.assessment-card {
  position: relative; overflow: hidden; padding: 32px 22px; border-radius: 28px;
  background: radial-gradient(90% 120% at 0% 0%, #1e40af 0%, #0f172a 60%), #0f172a;
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .6);
}
@media (min-width: 640px) { .assessment-card { padding: 48px 40px; } }
@media (min-width: 1024px) { .assessment-card { padding: 64px 56px; } }
.assessment-title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); line-height: 1.3; }
.badge-free { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #0f172a; background: linear-gradient(90deg, #fde68a, #fbbf24); }
.assess-check { display: flex; align-items: flex-start; gap: 12px; color: #e0e7ff; }
.assess-check .check-icon { background: rgba(56, 189, 248, .18); color: #7dd3fc; }

.form-card { padding: 26px 22px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); align-self: start; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #dbe2ea; background: #f8fafc;
  font: inherit; font-size: 15px; color: var(--navy); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.field.has-error input, .field.has-error select { border-color: #ef4444; background: #fef2f2; }
.field-error { min-height: 0; margin-top: 4px; font-size: 12.5px; color: #dc2626; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #64748b; border-bottom: 2px solid #64748b; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; padding-right: 40px; cursor: pointer; }
.field select:invalid { color: #94a3b8; }
.field select option { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-item { border-radius: 16px; background: #fff; border: 1px solid #e8edf4; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #bfdbfe; box-shadow: 0 16px 40px -28px rgba(30, 64, 175, .4); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; color: var(--navy); font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid #93c5fd; outline-offset: -3px; border-radius: 16px; }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eff6ff; color: var(--accent); flex-shrink: 0; transition: transform .25s; }
.faq-toggle svg { width: 14px; height: 14px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 20px; color: #64748b; font-size: 15px; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-card { position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid #e8edf4; }
@media (min-width: 640px) { .contact-card { padding: 36px; } }
.avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: "Inter", sans-serif; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--indigo)); }
.role-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.channel { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #e8edf4; }
.channel-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.channel-badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.channel-badge svg { width: 18px; height: 18px; }
.wa-bg { background: #22c55e; }
.wc-bg { background: #07c160; }
.channel-value { white-space: nowrap; font-family: "Inter", sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.copy-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: #64748b; padding: 4px 8px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; transition: all .2s; }
.copy-btn:hover { color: var(--accent); border-color: #bfdbfe; }
.copy-btn svg { width: 13px; height: 13px; }
.qr-box { width: 132px; height: 132px; border-radius: 14px; padding: 8px; background: #fff; border: 1px solid #e2e8f0; display: grid; place-items: center; overflow: hidden; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { width: 100%; height: 100%; border-radius: 8px; border: 2px dashed #cbd5e1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 11.5px; line-height: 1.35; color: #94a3b8; padding: 6px; }
.qr-placeholder svg { width: 26px; height: 26px; }
.qr-box.is-missing img { display: none; }
.qr-box.is-missing .qr-placeholder { display: flex; }

.info-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid #e8edf4; display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #eff6ff; color: var(--accent); flex-shrink: 0; }
.info-icon svg { width: 20px; height: 20px; }
.info-label { font-size: 13px; color: #64748b; }
.info-value { display: block; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; transition: color .2s; }

/* ---------- Footer ---------- */
.footer-head { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
html[data-lang="lo"] .footer-head, html[data-lang="th"] .footer-head { letter-spacing: .02em; font-size: 14px; }
.footer-link { transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-lang { color: #64748b; transition: color .2s; }
.footer-lang:hover, .footer-lang.active { color: #fff; }

/* ---------- Floating ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 16px; border-radius: 999px; color: #fff; background: #22c55e;
  box-shadow: 0 14px 30px -10px rgba(34, 197, 94, .7); transition: transform .2s, box-shadow .2s;
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(34, 197, 94, .8); }
.float-wa svg { width: 24px; height: 24px; flex-shrink: 0; }
.float-wa-label { font-weight: 600; font-size: 14.5px; }
@media (max-width: 639px) { .float-wa { width: 54px; padding: 0; justify-content: center; } .float-wa-label { display: none; } }

.to-top {
  position: fixed; right: 18px; bottom: 84px; z-index: 40; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .35);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 640px) { .to-top { right: 22px; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px;
  background: var(--navy); color: #fff; font-weight: 500; font-size: 15px; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.btn-wa { padding: 8px 14px; font-size: 14px; color: #fff; background: #22c55e; border-radius: 10px; }
.btn-wa:hover { background: #16a34a; }
