/* nalltc.com — ธีมองค์กร (ลู่ haruno · 10 ต.ค. 2569) · ไม่ใช้สีดาวนภา
   สว่าง/มืด: ตามเครื่อง (prefers-color-scheme) + ปุ่มสลับ (data-theme บน <html> · จำใน localStorage)
   มือถือก่อน 360px · ฟอนต์ Noto (ไทย/ละติน/จีน/พม่า) เสิร์ฟจากเว็บเราเอง */
:root {
  --ink: #0e1a2b; --ink-2: #33415a; --muted: #5d6b80; --line: #dfe5ee; --bg: #f5f7fa; --card: #ffffff; --band: #0e2240; --band-ink: #e9eef6;
  --accent: #0d5bd7; --accent-ink: #ffffff; --accent-soft: #e6effd; --focus: #ff9d00;
  --l-education: #2f6fe4; --l-legaltech: #6b4fd6; --l-logistics: #0f8a7a; --l-construction: #c4661d;
  --radius: 14px; --shadow: 0 1px 0 rgba(14,26,43,.04), 0 10px 30px -18px rgba(14,26,43,.35);
  --font: "Noto Sans Thai", "Noto Sans", "Noto Sans SC", "Noto Sans Myanmar", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #e7edf6; --ink-2: #c3cede; --muted: #95a3b8; --line: #23324a; --bg: #0b1320; --card: #121d2e; --band: #0a182e; --band-ink: #e7edf6; --accent: #5b9bff; --accent-ink: #06122a; --accent-soft: #14284a; --l-education: #6b9cff; --l-legaltech: #a28cff; --l-logistics: #3cc3ae; --l-construction: #f0a05c; --shadow: 0 10px 30px -18px rgba(0,0,0,.8); color-scheme: dark; } }
:root[data-theme="dark"] { --ink: #e7edf6; --ink-2: #c3cede; --muted: #95a3b8; --line: #23324a; --bg: #0b1320; --card: #121d2e; --band: #0a182e; --band-ink: #e7edf6; --accent: #5b9bff; --accent-ink: #06122a; --accent-soft: #14284a; --l-education: #6b9cff; --l-legaltech: #a28cff; --l-logistics: #3cc3ae; --l-construction: #f0a05c; --shadow: 0 10px 30px -18px rgba(0,0,0,.8); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font), "Noto Sans SC", "Noto Sans Myanmar", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── หัวเว็บ ── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.mark .logo { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--band), #1f4f9a); display: grid; place-items: center; color: #fff; font: 700 15px/1 "Noto Sans", sans-serif; letter-spacing: .02em; flex: none; }
.mark b { display: block; font: 700 17px/1.1 "Noto Sans", sans-serif; letter-spacing: .14em; }
.mark small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.nav { display: none; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.tools { display: flex; align-items: center; gap: 6px; }
.iconbtn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.lang { position: relative; }
.lang > summary { list-style: none; height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.lang > summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 46px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 150px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-family: "Noto Sans Thai", "Noto Sans", "Noto Sans SC", "Noto Sans Myanmar", sans-serif; }
.lang li a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.menu { position: relative; }
.menu > summary { list-style: none; } .menu > summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 46px; display: grid; min-width: 220px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.menu nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 520px) { .lang > summary span { display: none; } .lang > summary { padding: 0 9px; } .mark small { max-width: 38vw; } }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } .mark small { max-width: none; } }

/* ── ส่วนเปิดหน้า ── */
.hero { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at 85% 10%, rgba(91,155,255,.35), transparent 55%),
  radial-gradient(ellipse at 0% 100%, rgba(60,195,174,.22), transparent 50%),
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 40px,
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 100%; }
.hero .wrap { position: relative; padding-top: 48px; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fc2ff; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.2; margin: 14px 0 14px; color: #fff; max-width: 18em; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 19px); color: #c9d6ea; max-width: 40em; margin: 0 0 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.hero .btn-primary { background: #fff; color: var(--band); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.hero .btn-ghost { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: #dce6f5; }
.chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* ── ส่วนเนื้อหา ── */
main section { padding: 48px 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sec-h h2 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.3; margin: 0; }
.sec-h p { margin: 4px 0 0; color: var(--muted); }
.lines { display: grid; gap: 14px; }
@media (min-width: 640px) { .lines { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .lines { grid-template-columns: repeat(4, 1fr); } }
.line { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 20px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.line::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--c); }
.line:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(14,26,43,.45); }
.line .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.line .ic .icon { width: 26px; height: 26px; }
.line h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.line p { margin: 0; color: var(--muted); font-size: 15px; }
.line .more { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-weight: 700; font-size: 14.5px; }
.facts { display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.facts div { display: grid; gap: 2px; padding: 14px 18px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 13.5px; }
.facts dd { margin: 0; font-weight: 700; font-size: 16px; }
@media (min-width: 720px) { .facts div { grid-template-columns: 15rem 1fr; gap: 16px; align-items: baseline; } }
.strip { display: grid; gap: 12px; }
@media (min-width: 720px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat small { display: block; color: var(--muted); font-size: 13px; }
.stat b { display: block; font-size: 19px; line-height: 1.35; margin-top: 2px; }
.alt { background: color-mix(in srgb, var(--card) 55%, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* หน้าย่อยสายธุรกิจ */
.page-h { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.page-h::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--c, var(--accent)); opacity: .22; filter: blur(4px); }
.page-h .wrap { position: relative; padding-top: 36px; padding-bottom: 36px; }
.page-h .crumbs { font-size: 13.5px; color: #9fb4d3; }
.page-h .crumbs a { color: #cfdcf0; text-decoration: none; }
.page-h h1 { margin: 8px 0 0; font-size: clamp(26px, 5vw, 40px); line-height: 1.25; color: #fff; display: flex; align-items: center; gap: 14px; }
.page-h h1 .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--accent)) 30%, transparent); color: #fff; flex: none; }
.prose { max-width: 46em; }
.prose p { font-size: 17px; margin: 0 0 14px; color: var(--ink-2); }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta b { font-size: 18px; }
.note { font-size: 13px; color: var(--muted); }
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.cc { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cc .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cc small { color: var(--muted); }
.cc b, .cc a { font-size: 17px; font-weight: 700; word-break: break-word; }

/* ── ท้ายเว็บ ── */
footer { background: var(--band); color: #b9c7db; font-size: 14px; }
footer .wrap { display: grid; gap: 18px; padding-top: 32px; padding-bottom: 36px; }
footer b { color: #fff; }
footer a { color: #dbe6f6; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer .langs a { text-decoration: none; }
footer .langs a[aria-current="true"] { color: #fff; font-weight: 700; text-decoration: underline; }
@media (min-width: 900px) { footer .wrap { grid-template-columns: 1.4fr 1fr; } }
