:root {
  --blue: #1f7fae;
  --blue-dark: #145a7d;
  --teal: #5fb3a3;
  --teal-soft: #e6f3f0;
  --ink: #1d2b36;
  --muted: #5b6b77;
  --line: #dde6ea;
  --bg: #ffffff;
  --bg-alt: #f4f8f9;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 60, 80, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Sarabun", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, .brand-mark { font-family: "Prompt", "Sarabun", sans-serif; line-height: 1.35; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: .2em 0 .8em; }
h3 { font-size: 1.15rem; margin: 0 0 .5em; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.eyebrow { color: var(--teal); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; margin: 0; }
.eyebrow.light { color: #bfe5dc; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.grid { display: grid; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--teal); transition: background .2s, color .2s;
}
.btn:hover { background: #4c9d8e; border-color: #4c9d8e; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-sm { padding: 6px 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark { font-size: 1.6rem; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.brand-sub { font-size: .62rem; color: var(--teal); letter-spacing: .08em; font-weight: 600; }
.menu { display: flex; gap: 26px; align-items: center; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 500; white-space: nowrap; }
.menu a:not(.btn):hover { color: var(--blue); }
.menu a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { position: relative; color: #fff; padding: 110px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(20,90,125,.94) 0%, rgba(31,127,174,.82) 50%, rgba(95,179,163,.55) 100%),
              url("img/hero-buildings.jpg") center/cover no-repeat;
}
.hero-inner { position: relative; }
.hero .eyebrow { color: #bfe5dc; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin: .3em 0 .4em; }
.lead { font-size: 1.12rem; max-width: 680px; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 6px 16px; border-radius: 999px; font-size: .95rem; }

/* About */
.approach { border-top: 4px solid var(--teal); }
.num-list { padding-left: 1.2em; margin: 0; }
.num-list li { margin-bottom: .6em; }

/* Services */
.services { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.service .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 16px; }
.service svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); font-size: .95rem; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Process */
.process { margin-top: 24px; align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 56px; border-left: 2px dashed var(--line); margin-left: 18px; padding-left: 38px; }
.steps li::before {
  content: counter(s); position: absolute; left: -19px; top: 8px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: "Prompt", sans-serif;
}
.steps li:last-child { border-left-color: transparent; }
.figure { margin: 0; padding: 16px; }
.figure figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; text-align: center; }
.note { background: var(--teal-soft); border-left: 4px solid var(--teal); padding: 14px 20px; border-radius: 8px; margin: 32px 0 0; }
.sub-title { margin-top: 56px; font-size: 1.35rem; text-align: center; }
.accordion { max-width: 860px; margin: 20px auto 0; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.accordion summary { cursor: pointer; padding: 14px 20px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 20px; top: 10px; font-size: 1.4rem; color: var(--blue); }
.accordion details[open] summary::after { content: "−"; }
.accordion ul { margin: 0; padding: 0 24px 16px 44px; color: var(--muted); }

/* Licenses */
.licenses { grid-template-columns: 1fr 1.4fr; margin-top: 32px; align-items: start; }
.licenses img { border-radius: 6px; border: 1px solid var(--line); }
.lic-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; padding: 14px 16px; text-align: left; background: var(--bg-alt); border-radius: 8px; font-size: .92rem; }
.lic-meta dt { color: var(--muted); }
.lic-meta dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff; font-size: .92rem;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Clients */
.ppl-clients__lead { max-width: 760px; margin: 0 auto 28px; }
.ppl-clients__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.ppl-clients__stats li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 18px 20px; text-align: center; box-shadow: var(--shadow); color: var(--muted); }
.ppl-clients__stats b { display: block; font-family: "Prompt", sans-serif; font-size: 2.2rem; line-height: 1.1; color: var(--blue); }
.ppl-clients__group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 18px; margin: 0 0 24px; overflow: hidden; box-shadow: var(--shadow); }
.ppl-clients h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; padding: 12px 22px; color: #fff; background: var(--blue); font-size: 1.08rem; }
.ppl-clients h3 span { font-size: .9em; font-weight: 400; white-space: nowrap; }
.ppl-clients__list { margin: 0; padding: 0 22px 0 3.2em; columns: 3 240px; column-gap: 36px; line-height: 1.55; font-size: .97rem; }
.ppl-clients__list--wide { columns: 2 320px; }
.ppl-clients__list li { break-inside: avoid; padding: 3px 0; }
.ppl-clients__list li::marker { color: var(--teal); font-weight: 600; }
.ppl-clients small { color: var(--muted); font-size: .86em; }
.ppl-clients__note { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; }
.contact h2 { margin-bottom: .2em; }
.contact .en { opacity: .85; margin-top: 0; }
.contact a { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 18px; align-items: flex-start; }
.ci { flex: 0 0 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 1.1rem; }
.map { padding: 0; overflow: hidden; min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Footer */
.site-footer { background: #0f2d3d; color: #b8c9d3; font-size: .92rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px 0; }
.site-footer p { margin: 0; }
.site-footer a { color: #b8c9d3; text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .two-col, .licenses { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ppl-clients__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; align-items: stretch;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .menu a.btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 60px; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}
