.btn-line {
  background: #067a36;
  color: #fff;
}

.btn-line:hover {
  background: #055d2a;
}

.work-section-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}

.work-section-head .section-head { margin-bottom: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.work-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-item { min-width: 0; margin: 0; }
.work-item[hidden] { display: none; }
.work-image { position: relative; display: block; overflow: hidden; border-radius: 6px; background: #eee; }
.work-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 180ms ease; }
.work-image:hover img { transform: scale(1.025); }
.work-image:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.image-expand { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: #fff; background: rgba(0,0,0,.65); }
.work-item figcaption { padding-top: 14px; }
.work-category { color: var(--green); font-size: .85rem; font-weight: 500; }
.work-item h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.work-item p { margin: 0; color: var(--muted); }
.gallery-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.gallery-bar select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.service-poster { display: block; width: min(100%, 760px); }
.service-poster img { width: 100%; height: auto; }
.poster-layout .section-head { max-width: 760px; }
.photo-dialog { width: min(1160px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 0; border-radius: 8px; color: #fff; background: #171717; }
.photo-dialog::backdrop { background: rgba(0,0,0,.85); }
.photo-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.photo-toolbar p { margin: 0; }
.photo-stage { position: relative; display: flex; align-items: center; justify-content: center; height: min(72dvh, 780px); }
.photo-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-dialog button { color: #fff; background: rgba(0,0,0,.7); border-color: #666; flex-shrink: 0; }
.photo-prev, .photo-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.photo-prev { left: 0; }
.photo-next { right: 0; }
body.photo-open { overflow: hidden; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .work-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .work-section-head { flex-direction: column; }
  .photo-dialog { padding: 12px; }
  .photo-toolbar p { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .work-image img { transition: none; } }

.map-frame,
.facebook-frame {
  display: block;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.map-frame {
  width: 100%;
  height: 360px;
}

.facebook-frame {
  width: 340px;
  height: 500px;
}

.contact-integrations {
  align-items: start;
  gap: 32px;
}

.contact-integrations > div {
  min-width: 0;
}

.integration-actions {
  margin-top: 16px;
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/ibm-plex-sans-thai-400.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/ibm-plex-sans-thai-500.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/ibm-plex-sans-thai-600.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/ibm-plex-sans-thai-700.ttf") format("truetype");
}

:root {
  --ink: #1b1d21;
  --muted: #5d626b;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --line: #dce2ea;
  --yellow: #ffd13b;
  --yellow-dark: #a16a00;
  --green: #165bb5;
  --blue: #1254ab;
  --danger: #a23a2b;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.12);
  --radius: 8px;
  font-family: "IBM Plex Sans Thai", "Tahoma", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-top {
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.top-inner,
.nav-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.top-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.top-inner span {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  color: var(--blue);
  border-bottom: 3px solid var(--yellow);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: grid;
  gap: 0;
}

.brand strong {
  color: var(--blue);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  place-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--yellow);
  color: var(--ink);
}

.btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.btn-primary {
  color: #1b1d21;
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(247, 197, 49, 0.25);
}

.btn-primary:hover {
  background: #ffd85b;
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn-soft {
  color: #fff;
  background: var(--green);
}

.icon-only {
  width: 44px;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 30, 0.48), rgba(10, 18, 30, 0.18) 55%, rgba(10, 18, 30, 0.02));
  z-index: -1;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 85%;
  opacity: 0.52;
  z-index: -2;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  max-width: none;
}

.hero-content .eyebrow {
  display: none;
}

.hero-content .lead {
  max-width: 690px;
}

.hero-notes {
  margin-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff3bd;
  font-weight: 700;
  font-size: 0.95rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1.3;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead {
  max-width: 690px;
  margin-bottom: 26px;
  color: #f5f2e8;
  font-size: 1.18rem;
  overflow-wrap: anywhere;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-note {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 20, 28, 0.60);
}

.hero-note strong {
  display: block;
  color: #fff;
}

.hero-note span {
  display: block;
  color: #edf0f5;
  font-size: 0.93rem;
}

.notice {
  background: #fff5d7;
  border-block: 1px solid #efd37d;
}

.notice .section-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.notice p {
  margin: 0;
  color: #604610;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 2.25rem;
  line-height: 1.4;
}

.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-dark .section-head p,
.section-dark .muted {
  color: #d8d1c2;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .card-body {
  padding: 20px;
}

.media-card .card-body p:last-child {
  margin-bottom: 0;
}

.service-card .icon-circle,
.feature .icon-circle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
}

.feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}

.feature h3 {
  margin-bottom: 4px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.area-list li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 34px;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
}

.checklist svg {
  color: var(--green);
  margin-top: 4px;
}

.page-hero {
  padding: 86px 0 52px;
  color: #fff;
  background: var(--blue);
  border-bottom: 4px solid var(--yellow);
}

.page-hero .lead {
  color: #e4efff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #f7df89;
  font-size: 0.92rem;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6efdb;
}

tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.84rem;
  font-weight: 800;
}

.status-ok {
  color: #fff;
  background: var(--green);
}

.status-warn {
  color: #392700;
  background: var(--yellow);
}

.status-hold {
  color: #fff;
  background: var(--danger);
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
}

.muted {
  color: var(--muted);
}

.quote-box {
  border-left: 4px solid var(--yellow);
  background: #fff;
  padding: 18px;
}

.site-footer {
  color: #e5e7eb;
  background: #17191d;
  border-top: 4px solid var(--yellow);
  padding: 44px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}

.footer-grid a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.mobile-callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 2px solid var(--yellow);
  backdrop-filter: blur(14px);
}

.mobile-callbar .btn {
  width: 100%;
}

.source-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 118px 16px auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .desktop-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-img {
    object-position: 57% 75%;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 18, 30, 0.18), rgba(10, 18, 30, 0.05));
  }

  .hero-notes,
  .grid-3,
  .grid-4,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .notice .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-callbar {
    display: grid;
  }
}

@media (max-width: 560px) {
  .top-inner {
    flex-direction: column;
    gap: 2px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.22;
    word-break: break-all;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .actions .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .card,
  .contact-panel {
    padding: 16px;
  }

  .media-card {
    padding: 0;
  }

  .media-card .card-body {
    padding: 16px;
  }

  .mobile-callbar .btn {
    min-height: 48px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}
