/* =========================
   DocuFlow — light, minimal
   ========================= */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-muted: #f4f5f7;

  /* Text */
  --text: #0a0a0f;
  --text-soft: #4a4f5b;
  --text-dim: #6b7280;

  /* Borders */
  --border: #ececef;
  --border-strong: #d4d6db;

  /* Brand */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --green: #059669;
  --red: #dc2626;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.12);

  /* Geometry */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  /* Type */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --lao: 'Saysettha OT', 'Noto Sans Lao', 'Phetsarath OT', 'Saysettha', system-ui, sans-serif;
}

/* Saysettha OT — prefer local install, otherwise fetch the embedded font.
   WOFF2 is tried first (modern browsers); TTF is a legacy fallback.
   If nothing resolves, the Lao stack falls through to Noto Sans Lao. */
@font-face {
  font-family: 'Saysettha OT';
  src: local('Saysettha OT'),
       local('Saysettha'),
       url('assets/fonts/saysettha_ot.woff2') format('woff2'),
       url('assets/fonts/saysettha_ot.ttf') format('truetype');
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 0.55em;
  color: var(--text);
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--text-soft); }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* (legacy hooks — kept so old markup doesn't break) */
.bg-orbs { display: none; }

/* =========================
   Navigation
   ========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity .15s;
}
.logo:hover { opacity: 0.78; }
.logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.logo-mark-sm { width: 28px; height: 28px; }
.logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-soft);
  font-weight: 500;
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-muted);
  border-radius: 8px;
  font-size: 12.5px;
}
.lang-btn {
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--text-dim);
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.2;
  transition: color .15s, background .15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: #b9bcc4; }
.btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg-soft); }
.btn-block { width: 100%; }

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  padding: 90px 0 120px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
  color: var(--text);
}
.gradient-text {
  color: var(--primary);
  font-style: italic;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--text-soft);
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stats span { font-size: 13.5px; color: var(--text-dim); margin-top: 2px; }

/* Hero visual — static card preview */
.hero-visual {
  position: relative;
  height: 460px;
}
.card-stack { position: absolute; inset: 0; }
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.card-erp { top: 30px; left: 0; width: 280px; }
.card-pos { top: 200px; right: 0; width: 200px; }
.card-iot { bottom: 30px; left: 70px; width: 260px; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill-cyan { background: #ecfeff; color: #0891b2; }
.pill-green { background: #ecfdf5; color: var(--green); }
.status {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 500;
}
.status.live { color: var(--green); }
.row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.row:last-of-type { border-bottom: none; }
.row b { color: var(--text); font-weight: 600; }
.bar {
  height: 5px;
  margin-top: 10px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--primary);
}
.metric {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.float-card small { color: var(--text-dim); font-size: 12px; }
.spark svg { width: 100%; height: 50px; }
.spark polyline { stroke: var(--primary) !important; }

/* =========================
   Trust strip
   ========================= */
.trust {
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
  font-weight: 500;
}
.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 52px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.trust-logos span { transition: color .15s; }
.trust-logos span:hover { color: var(--text); }

/* =========================
   Sections
   ========================= */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-head p { font-size: 17px; color: var(--text-soft); line-height: 1.55; }

/* =========================
   Solutions
   ========================= */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.solution {
  position: relative;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s;
}
.solution:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.solution-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.solution-icon svg { width: 20px; height: 20px; }
.solution h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.solution p { font-size: 14.5px; line-height: 1.55; margin: 0; color: var(--text-soft); }
.solution-wide { grid-column: span 3; }

/* =========================
   Products
   ========================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.product {
  position: relative;
  padding: 38px 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s;
}
.product:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.product-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.product-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.product-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.05;
}
.product-tagline {
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 18px;
}
.product p { font-size: 15px; line-height: 1.6; color: var(--text-soft); }
.product-features {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}
.product-features li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 14.5px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
}
.product-features li::after {
  content: "✓";
  position: absolute;
  left: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   Workflow section
   ========================= */
.workflow-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}
.workflow-grid::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 12%, var(--border-strong) 88%, transparent);
  z-index: 0;
}
.wf-card {
  position: relative;
  z-index: 1;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.wf-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.wf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 16px;
}
.wf-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
  line-height: 1.3;
}
.wf-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 1080px) {
  .workflow-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-grid::before { display: none; }
}
@media (max-width: 560px) {
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Workflow strip (DocuFlow lifecycle) */
.workflow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 14px 14px;
  margin: 4px 0 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.wf-step {
  padding: 6px 11px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.wf-arrow {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}

/* FlowBiz module chips */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 8px;
}
.module-grid span {
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: left;
  transition: border-color .15s, color .15s, background .15s;
}
.module-grid span:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: #fff;
}

/* Package pricing strip */
.package-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 26px;
}
.pkg-mini {
  padding: 16px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}
.pkg-mini h5 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.pkg-mini strong {
  display: block;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}
.pkg-mini small { font-size: 11.5px; color: var(--text-soft); }
.pkg-mini-featured {
  background: var(--primary-soft);
  border-color: var(--primary);
}
.pkg-mini-featured h5 { color: var(--primary); }
.pkg-mini-featured strong { color: var(--primary); }

/* =========================
   Industries
   ========================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.industry:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.industry-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-muted);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.industry-icon svg { width: 18px; height: 18px; }
.industry h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.industry p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--text-soft); }

/* =========================
   About
   ========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-grid h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.value-cards {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 16px; height: 16px; }
.value-body { flex: 1; }
.value-body h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.value-body p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--text-soft); }

.about-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  inset: 18%;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.ring::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}
.ring-2 { inset: 8%; animation-duration: 38s; animation-direction: reverse; }
.ring-2::before { background: var(--text); box-shadow: 0 0 0 4px rgba(10, 10, 15, 0.06); }
.ring-3 { inset: 28%; animation-duration: 20s; }
.ring-3::before { background: var(--primary); opacity: 0.55; }

@keyframes spin {
  to { transform: rotate(360deg); }
}
.about-center {
  position: relative;
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}

/* =========================
   Contact
   ========================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-card {
  padding: 40px 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-status {
  min-height: 20px;
  font-size: 13.5px;
  color: var(--green);
  margin: 0;
}

.contact-side {
  display: grid;
  gap: 12px;
  align-content: start;
}
.contact-item {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-item h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-item h4 svg {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.contact-item p { font-size: 14.5px; margin: 0 0 4px; color: var(--text); line-height: 1.55; }
.contact-item p:last-child { margin-bottom: 0; }
.contact-item p[lang="lo"] { font-size: 14px; line-height: 1.7; }
.contact-sub {
  font-size: 13px !important;
  color: var(--text-soft) !important;
  margin-top: 2px !important;
}
.contact-item a { color: var(--primary); transition: color .15s; }
.contact-item a:hover { color: var(--primary-hover); }

/* =========================
   Footer
   ========================= */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-tag {
  margin-top: 14px;
  font-size: 14px;
  max-width: 320px;
  line-height: 1.55;
  color: var(--text-soft);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  padding: 5px 0;
  transition: color .15s;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* =========================
   Reveal on scroll
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px) {
  .hero-inner,
  .about-grid,
  .contact-wrap { grid-template-columns: 1fr; }
  .hero-visual { height: 400px; margin-top: 30px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-wide { grid-column: span 2; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .nav-cta { display: none; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 6%;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 0; }
  .hero { padding: 50px 0 80px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-wide { grid-column: span 1; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .package-strip { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .hero-stats { gap: 28px; }
  .card-erp { width: 240px; }
  .card-pos { width: 170px; }
  .card-iot { width: 220px; left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* =========================
   Lao typography
   Apply Saysettha OT (local) → Noto Sans Lao (web) to any Lao text.
   Matches when UI lang = 'lo' (whole doc) or for elements with lang="lo"
   regardless of active UI language (e.g. address block, switcher label).
   ========================= */
:lang(lo),
:lang(lo) h1, :lang(lo) h2, :lang(lo) h3, :lang(lo) h4, :lang(lo) h5,
:lang(lo) .hero-title, :lang(lo) .product-title, :lang(lo) .about-center,
:lang(lo) .section-head h2, :lang(lo) .contact-card h2,
:lang(lo) .logo-text, :lang(lo) input, :lang(lo) select, :lang(lo) textarea,
:lang(lo) button {
  font-family: var(--lao);
}

/* Lao tends to need a hair more line-height to breathe with its tone marks */
:lang(lo) {
  line-height: 1.65;
}
:lang(lo) .hero-title,
:lang(lo) .section-head h2,
:lang(lo) .product-title,
:lang(lo) .contact-card h2 {
  line-height: 1.18;
}
