:root {
  --ink: #0c1424;
  --muted: #5d6575;
  --blue: #07316d;
  --blue-2: #0d58b2;
  --teal: #197b8f;
  --line: #dce4ef;
  --surface: #ffffff;
  --soft: #f4f8fc;
  --warm: #b46b2c;
  --shadow: 0 18px 50px rgba(12, 20, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Noto Sans Thai", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 239, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 238px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.05;
}

.brand em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  flex: 1;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--blue-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.button-dark {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 49, 109, 0.22);
}

.button-dark:hover {
  background: #041f47;
}

.button-light {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  border-color: #b9c6d8;
}

.button-light:hover {
  border-color: var(--blue);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(76vh - 78px);
  display: grid;
  align-items: center;
  padding: clamp(26px, 3vw, 42px) clamp(22px, 5vw, 70px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(255,255,255,0.38) 70%, rgba(255,255,255,0.08) 100%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  z-index: -1;
}

.hero-visual {
  position: absolute;
  inset: 13% 0 0 auto;
  width: min(58vw, 720px);
  display: grid;
  place-items: end;
  z-index: -2;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 26px 26px rgba(12, 20, 36, 0.16));
}

.hero-content {
  width: min(680px, 100%);
}

.hero-logo {
  width: min(295px, 72vw);
  margin-bottom: clamp(18px, 2vw, 26px);
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
.section-heading h2,
.contact-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

h1 {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: clamp(40px, 4.7vw, 64px);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 44px));
  margin: -28px auto 72px;
  position: relative;
  z-index: 5;
}

.service-strip article {
  min-height: 238px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: var(--blue-2);
}

.icon svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-strip h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.15;
}

.service-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.industries {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 76px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.industry-list span {
  display: grid;
  min-height: 96px;
  place-items: center;
  padding: 18px;
  background: #fff;
  color: #263248;
  font-weight: 800;
  text-align: center;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(38px, 6vw, 68px) clamp(22px, 5vw, 70px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 31, 71, 0.96), rgba(7, 49, 109, 0.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px);
}

.contact-band .eyebrow {
  color: #bfe8f1;
}

.contact-band h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand {
    flex: 1 1 260px;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 74vh;
    padding-top: 42px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 48%, rgba(255,255,255,0.62) 72%, rgba(244,248,252,0.95) 100%),
      linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  }

  .hero-visual {
    inset: auto -8% 2% auto;
    width: min(92vw, 650px);
    opacity: 0.42;
  }

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

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

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    padding-inline: 16px;
  }

  .brand strong {
    font-size: 17px;
  }

  .site-header > .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px 92px;
  }

  .hero-logo {
    display: none;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    overflow-wrap: break-word;
  }

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

  .hero-visual {
    inset: auto -24% -5% auto;
    width: min(108vw, 540px);
    opacity: 0.2;
  }

  .service-strip,
  .industries {
    width: calc(100% - 32px);
  }

  .service-strip,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
