:root {
  --navy: #09233d;
  --navy-2: #0d304f;
  --yellow: #ffd21f;
  --yellow-dark: #e7b900;
  --white: #ffffff;
  --muted: #6b7280;
  --soft: #f4f8fb;
  --border: #dbe5ee;
  --shadow: 0 18px 35px rgba(9, 35, 61, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans Thai", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 35, 61, 0.96);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 800;
}

.logo-main {
  font-size: 26px;
  color: var(--white);
}

.logo-sub {
  font-size: 14px;
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  color: var(--yellow);
  opacity: 1;
}

.header-call {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(9, 35, 61, 0.94) 0%, rgba(9, 35, 61, 0.86) 47%, rgba(9, 35, 61, 0.42) 100%),
    radial-gradient(circle at 80% 30%, rgba(255, 210, 31, 0.25), transparent 28%),
    linear-gradient(135deg, #0a2744, #123b61);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-desc {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(255, 210, 31, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-small {
  background: var(--yellow);
  color: var(--navy);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 58px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  color: var(--yellow);
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  margin-top: 8px;
}

.hero-card {
  align-self: end;
  margin-bottom: 120px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  max-width: 380px;
  justify-self: end;
}

.hero-card p {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 700;
}

.hero-card a {
  color: var(--yellow);
  font-weight: 800;
}

.trust-section {
  margin-top: -64px;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trust-card {
  padding: 30px 24px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.trust-card .icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.trust-card h3 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 18px;
}

.trust-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 span {
  color: var(--yellow-dark);
}

.section-text {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.image-card {
  position: relative;
}

.image-placeholder {
  min-height: 520px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(9, 35, 61, 0.78), rgba(9, 35, 61, 0.38)),
    linear-gradient(135deg, #dbeafe, #eff6ff);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  padding: 24px;
}

.experience-badge {
  position: absolute;
  left: 28px;
  bottom: -24px;
  width: 150px;
  height: 130px;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow);
}

.experience-badge strong {
  font-size: 24px;
}

.experience-badge span {
  font-size: 14px;
  font-weight: 700;
}

.mini-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.mini-list div {
  padding: 20px;
  border-left: 5px solid var(--yellow);
  background: var(--soft);
  border-radius: 14px;
}

.mini-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.mini-list p {
  margin: 0;
  color: var(--muted);
}

.services-section,
.projects-section {
  background: var(--soft);
}

.service-grid,
.project-grid,
.process-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.project-card,
.process-item {
  padding: 26px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(9, 35, 61, 0.06);
}

.service-card h3,
.project-card h3,
.process-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.service-card p,
.project-card p,
.process-item p {
  margin: 0;
  color: var(--muted);
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-list span {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--border);
  font-weight: 700;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.project-image {
  height: 190px;
  margin: -26px -26px 20px;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(135deg, rgba(9, 35, 61, 0.74), rgba(9, 35, 61, 0.30)),
    linear-gradient(135deg, #bfdbfe, #f8fafc);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
}

.process-item span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 18px;
}

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.contact-box p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-content,
  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
    align-self: auto;
    margin-bottom: 60px;
  }

  .trust-grid,
  .service-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-call {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 84px 0 120px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .trust-grid,
  .service-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-section {
    margin-top: -42px;
  }

  .section {
    padding: 68px 0;
  }

  .image-placeholder {
    min-height: 360px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}