:root {
  --ink: #061a33;
  --ink-2: #0a2b59;
  --panel: #103d78;
  --paper: #f4f6f8;
  --white: #ffffff;
  --muted: #aeb9c6;
  --text: #102746;
  --orange: #ff5a14;
  --orange-2: #ff8738;
  --blue: #123f82;
  --line: rgba(255,255,255,.12);
  --shadow: 0 22px 70px rgba(5, 16, 29, .18);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px;
  color: var(--orange); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.14; letter-spacing: -.035em; }
.section-lead { max-width: 720px; color: #596777; font-size: 1.05rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 800; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--orange-2); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.42); }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); }

.topbar { background: #031226; color: #cbd5df; font-size: .82rem; }
.topbar .container { min-height: 36px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(6,26,51,.94); color: #fff;
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.nav { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand strong { display: block; font-size: 1rem; letter-spacing: .05em; line-height: 1.25; }
.brand span { color: #8fa0b4; font-size: .72rem; letter-spacing: .09em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #dce4ed; font-size: .91rem; font-weight: 700; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-2); }
.menu-button { display: none; border: 0; background: transparent; color: #fff; font-size: 1.5rem; padding: 10px; }

.hero {
  min-height: 760px; display: grid; align-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(90deg, rgba(4,13,24,.97) 0%, rgba(4,13,24,.88) 48%, rgba(4,13,24,.2) 100%), url("hero-desktop.webp") center/cover;
}
.hero-copy { max-width: 790px; padding: 110px 0 135px; }
.hero h1 { margin: 0 0 22px; max-width: 790px; font-size: clamp(3rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--orange-2); }
.hero p { max-width: 690px; color: #d0dae6; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 68px; }
.stat { min-width: 165px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); backdrop-filter: blur(9px); }
.stat strong { display: block; font-size: 1.55rem; color: #fff; line-height: 1.1; }
.stat span { color: #9eacbb; font-size: .8rem; }

.services { padding: 110px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 430px; overflow: hidden; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); }
.service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 6; }
.service-card:nth-child(n+3) { grid-column: span 4; min-height: 360px; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(3,10,18,.94) 100%); }
.service-card:hover img { transform: scale(1.045); }
.service-card-content { position: absolute; z-index: 2; inset: auto 26px 24px; }
.service-card small { color: var(--orange-2); font-weight: 900; letter-spacing: .08em; }
.service-card h3 { margin: 7px 0 8px; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.2; }
.service-card p { margin: 0; color: #c9d4df; font-size: .92rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about { padding: 115px 0; background: var(--ink); color: #fff; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px 3px 90px 3px; }
.experience-badge { position: absolute; right: -25px; bottom: 36px; width: 150px; padding: 23px; background: var(--orange); box-shadow: var(--shadow); }
.experience-badge strong { display: block; font-size: 2.7rem; line-height: 1; }
.about-copy p { color: #bac6d2; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); }
.principle { padding: 20px; background: var(--ink); }
.principle strong { display: block; color: #fff; }
.principle span { color: #92a3b4; font-size: .86rem; }

.industries { padding: 105px 0; }
.industry-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 42px; }
.industry { padding: 24px 20px; background: #fff; border: 1px solid #e4e8ec; font-weight: 800; border-radius: 14px; }
.industry span { display: block; color: var(--blue); font-size: .75rem; margin-bottom: 10px; }

.policy { padding: 0 0 110px; }
.policy-box { padding: clamp(34px, 7vw, 74px); background: var(--orange); color: #fff; border-radius: var(--radius); display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 30px; }
.policy-box h2 { margin: 0; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.policy-box blockquote { margin: 0; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.23; font-weight: 900; }

.contact { padding: 105px 0; background: linear-gradient(135deg, #061a33, #0c3975); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.contact-info { display: grid; gap: 12px; margin-top: 30px; }
.contact-item { padding: 18px 20px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.contact-item small { display: block; color: #8191a4; }
.contact-item strong { font-size: 1.05rem; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.quick-links a { padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-weight: 800; transition: .2s; }
.quick-links a:hover { border-color: var(--orange); background: rgba(255,90,31,.12); }
.quick-links a:first-child { grid-column: 1 / -1; background: var(--orange); border-color: var(--orange); }
.site-footer { padding: 25px 0; background: #031226; color: #7e8d9e; font-size: .82rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; }

.page-hero { position: relative; min-height: 560px; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,13,24,.96), rgba(4,13,24,.25)), linear-gradient(0deg, rgba(4,13,24,.9), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; padding-bottom: 70px; }
.breadcrumb { color: #aab7c5; font-size: .82rem; letter-spacing: .05em; }
.page-hero h1 { max-width: 900px; margin: 15px 0 18px; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 1.03; letter-spacing: -.05em; }
.page-hero p { max-width: 760px; margin: 0; color: #d4dee8; font-size: 1.12rem; }
.detail { padding: 95px 0; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; }
.prose h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.2; margin: 0 0 20px; }
.prose h3 { margin-top: 38px; font-size: 1.25rem; }
.prose p { color: #4f5d6d; }
.check-list { padding: 0; list-style: none; display: grid; gap: 9px; }
.check-list li { position: relative; padding: 12px 14px 12px 42px; background: #fff; border: 1px solid #e1e6eb; border-radius: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--orange); font-weight: 900; }
.side-card { position: sticky; top: 110px; padding: 28px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.side-card h3 { margin: 0 0 12px; font-size: 1.45rem; }
.side-card p { color: #aab8c6; font-size: .92rem; }
.side-card .btn { width: 100%; margin-top: 10px; }
.gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 34px; }
.gallery img { width: 100%; height: 360px; object-fit: cover; border-radius: 14px; }
.gallery img:nth-child(2) { height: 300px; align-self: end; }
.materials { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.materials li { padding: 8px 13px; border-radius: 999px; background: #e8edf1; font-weight: 800; font-size: .86rem; }
.next-service { padding: 70px 0; background: #e7ebef; }
.next-service .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.next-service h2 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav { min-height: 68px; }
  .menu-button { display: block; }
  .nav > .btn { display: none; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; display: none; padding: 20px; background: #07111f; flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero { min-height: 690px; background-position: 60% center; }
  .hero-copy { padding: 80px 0 95px; }
  .service-card, .service-card:nth-child(n) { grid-column: span 6; }
  .split, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 580px; }
  .experience-badge { right: 12px; }
  .industry-list { grid-template-columns: repeat(2, 1fr); }
  .policy-box { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .hero h1 { font-size: 3.15rem; }
  .hero-stats { margin-top: 42px; }
  .stat { flex: 1; min-width: 130px; }
  .section-head { align-items: start; flex-direction: column; }
  .service-card, .service-card:nth-child(n) { grid-column: 1 / -1; min-height: 380px; }
  .principles, .industry-list, .quick-links, .gallery { grid-template-columns: 1fr; }
  .quick-links a:first-child { grid-column: auto; }
  .gallery img, .gallery img:nth-child(2) { height: 290px; }
  .page-hero { min-height: 500px; }
  .next-service .container, .site-footer .container { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
