
:root{--brand:#0d4a73;--ink:#0b1324;--muted:#475569;--bg:#f7fafc}
*{box-sizing:border-box}html{scroll-behavior:smooth}img{max-width:100%;height:auto;display:block}
body{margin:0;font:16px/1.6 'Noto Sans Thai','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}
.container{max-width:1100px;margin:0 auto;padding:24px}
header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e5e7eb;z-index:50}
.nav{display:flex;align-items:center;gap:20px;justify-content:space-between}
.nav img{height:44px;border-radius:6px}
.nav a{color:var(--ink);text-decoration:none;padding:10px 12px;border-radius:10px}
.nav a:hover{background:#f1f5f9}
h1,h2,h3{margin:0 0 12px} h1{font-size:40px} h2{font-size:28px}
.section{padding:28px 0}
.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:center}
.hero .card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 10px 28px rgba(2,6,23,.08)}
.hero .img{width:100%;height:300px;object-fit:cover;border-radius:16px;border:1px solid #e5e7eb;box-shadow:0 10px 28px rgba(2,6,23,.08)}
.topic-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 10px 28px rgba(2,6,23,.08);margin-bottom:20px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;box-shadow:0 8px 22px rgba(2,6,23,.08);display:flex;flex-direction:column;gap:8px;overflow:hidden}
.card-img{width:100%;aspect-ratio:16/9;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:6px;object-fit:cover}
.meta{color:var(--muted);font-size:14px}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery img{width:100%;height:260px;object-fit:cover;border-radius:12px;border:1px solid #e5e7eb}
footer{padding:22px 0;border-top:1px solid #e5e7eb;color:var(--muted);font-size:14px;background:#fff;text-align:center}
@media(max-width:820px){.hero{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.gallery{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}}

.lang-switch{display:flex;gap:6px;background:#f1f5f9;border:1px solid #e5e7eb;border-radius:999px;padding:4px}
.lang-switch button{border:0;background:transparent;padding:6px 10px;border-radius:999px;cursor:pointer;font-weight:600;color:#0b1324}
.lang-switch button.active{background:#0d4a73;color:#fff}

body, h1, h2, h3, nav, button, .meta { font-family: 'Noto Sans Thai','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif; }

html { font-size-adjust: 0.5; }

/* Mobile nav */
.menu-toggle{display:none;align-items:center;justify-content:center;gap:6px;border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:8px;color:#0b1324}
.nav-inline{display:flex;gap:10px}
.nav-panel{display:none;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 8px 18px rgba(2,6,23,.06)}
.nav-mobile{display:flex;flex-direction:column;gap:4px;max-width:1100px;margin:0 auto;padding:10px 24px 16px}
.nav-mobile a{padding:10px 12px;border-radius:10px;text-decoration:none;color:#0b1324}
.nav-mobile a:hover{background:#f1f5f9}
@media(max-width:820px){
  .menu-toggle{display:inline-flex}
  .nav-inline{display:none}
  .lang-switch{display:flex} /* keep language switch visible on mobile */
  .nav-panel.open{display:block}
}

.nav > div:last-child{display:flex;align-items:center;gap:14px}

/* Contact action chips */
.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.chip{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 4px 12px rgba(2,6,23,.06);transition:transform .15s ease, box-shadow .15s ease, background .15s ease}
.chip:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(2,6,23,.10);background:#f8fafc}
.chip:active{transform:translateY(0);box-shadow:0 4px 10px rgba(2,6,23,.08)}
.chip:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.chip svg{width:18px;height:18px;display:block}

/* Modern chips (v43) */
.contact-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px}
.chip{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:999px;text-decoration:none;line-height:1;font-weight:600;transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease}
.chip svg{width:20px;height:20px;display:block}
/* Solid brand */
.chip-solid{color:#fff;background:linear-gradient(135deg, var(--brand), #1281c6);box-shadow:0 10px 24px rgba(13,74,115,.25);border:0}
.chip-solid:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(13,74,115,.33)}
/* Outline */
.chip-outline{color:var(--ink);background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 18px rgba(2,6,23,.08)}
.chip-outline:hover{transform:translateY(-1px);box-shadow:0 14px 26px rgba(2,6,23,.12);background:#f8fafc}
.chip:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:999px}
