/* THAI LIGHTNING SYSTEMS — ภาพเต็มจอเล่าเรื่อง (Immersive)
   สีแบรนด์จากลูกค้า: กรมท่า #101F35 · น้ำเงินเหล็ก #52677F · เงิน #B8C2CE · เทาอ่อน #F5F7FA
   สีเน้นฟ้าไฟฟ้าจากโลโก้ #1F6FEB (--accent มาจาก site.config.js brand.color) */

:root {
  --accent: #1F6FEB;
  --navy: #101F35;
  --navy-2: #0A1526;
  --navy-3: #18294A;
  --steel: #52677F;
  --silver: #B8C2CE;
  --mist: #F5F7FA;
  --paper: #FFFFFF;
  --ink: #101F35;
  --muted: #4A5C72;
  --volt: #7DB8FF;
  --line: #DFE5EC;
  --radius: 6px;
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: var(--radius);
  background: var(--accent); color: #fff; border: 1.5px solid transparent;
  font: 600 16px/1.45 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(31, 111, 235, .7); }
.btn-volt { background: var(--accent); }
.btn-volt:hover { background: #2B7BFF; }
.btn-glass { background: rgba(10, 21, 38, .35); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn-glass svg, .btn-line svg { fill: #06C755; stroke: none; width: 22px; height: 22px; }
.btn-line { background: #06C755; color: #fff; }
.btn-line svg { fill: #fff; }
.btn-line:hover { background: #05b34c; box-shadow: 0 10px 24px -10px rgba(6, 199, 85, .6); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-ghost.btn-line { color: #06A748; border-color: #06C755; background: transparent; }
.btn-ghost.btn-line svg { fill: #06C755; }
.btn-ghost.btn-line:hover { background: #06C755; color: #fff; }
.btn-ghost.btn-line:hover svg { fill: #fff; }
.btn-light { background: #fff; color: var(--navy); }

/* ---------- หัวเว็บ (ห้ามใส่ transform / filter / backdrop-filter เพราะเมนูมือถือเป็น position: fixed) ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .25s; }
.site-head.is-scrolled { box-shadow: 0 6px 24px -12px rgba(16, 31, 53, .35); }
.topbar { background: var(--navy); color: #D5DCE5; font-size: 14px; }
.topbar .wrap { display: flex; gap: 28px; justify-content: center; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 16px; height: 16px; color: var(--volt); }
.topbar a[href*="line"] svg { fill: var(--volt); stroke: none; }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.logo img { width: 54px; height: 54px; object-fit: contain; }
.logo-text { display: grid; line-height: 1.45; min-width: 0; }
.logo-text b { font-size: 17px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-text small { font-size: 14px; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* โลโก้แบบใหม่ (รอบแก้ 1): สัญลักษณ์ | เส้นคั่น | ชื่อไทยตัวหนา + ชื่ออังกฤษตัวเล็ก */
.logo-text { border-left: 2px solid var(--navy); padding-left: 14px; line-height: 1.45; }
.logo-text b { font-weight: 700; }
.logo-text small.logo-en { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--navy); }
.menu { display: flex; align-items: center; gap: 6px; }
.menu > a:not(.btn) {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--navy);
}
.menu > a:not(.btn)::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.menu > a:not(.btn):hover::after, .menu > a[aria-current="page"]::after { transform: scaleX(1); }
.menu > a[aria-current="page"] { color: var(--accent); }
.menu-cta { margin-left: 10px; min-height: 46px; padding: 10px 20px; }
.menu-cta svg { width: 18px; height: 18px; }
.menu-contact { display: none; }
.nav-toggle { display: none; }

/* ---------- แบนเนอร์หน้าแรก: ภาพเต็มจอ ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-2); }
.hx-immersive .hero-track { display: flex; }
.hero-slide { position: relative; flex: 0 0 100%; min-height: clamp(520px, calc(100svh - 230px), 680px); display: flex; align-items: center; }
.hx-bg { position: absolute; inset: 0; overflow: hidden; }
.hx-bg picture, .hx-bg img { width: 100%; height: 100%; }
.hx-bg img { object-fit: cover; object-position: 75% 50%; transform: scale(1.06); will-change: transform; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 18, 34, .92) 0%, rgba(8, 18, 34, .72) 38%, rgba(8, 18, 34, .08) 72%),
    linear-gradient(0deg, rgba(8, 18, 34, .7) 0%, rgba(8, 18, 34, 0) 40%);
}
.hx-flash { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 55% at 64% 22%, rgba(170, 205, 255, .55), transparent 70%); opacity: 0; animation: flash 7s 1.2s ease-out 1 both; }
@keyframes flash { 0% { opacity: 0 } 3% { opacity: .9 } 6% { opacity: .1 } 9% { opacity: .65 } 16% { opacity: 0 } 100% { opacity: 0 } }
.hx-text { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 96px; }
.hx-eyebrow {
  display: inline-block; margin-bottom: 22px; padding: 7px 16px 7px 14px; font-size: 15px; font-weight: 500;
  background: rgba(31, 111, 235, .22); border-left: 3px solid var(--accent); color: #E3ECFA;
}
.hx-title { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.4; max-width: 26ch; text-wrap: balance; }
.hero em, .sec-head em, .intro-text h2 em, .cta-band h2 em { font-style: normal; color: var(--accent); }
.hero em, .why .sec-head em, .cta-dark h2 em { color: #5AA2FF; }
.hx-sub { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: #D7E0EB; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hx-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #fff; font-weight: 600; font-size: 18px; text-decoration: none; }
.hx-phone svg { color: var(--volt); }
.hx-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }

/* แบนเนอร์หน้ารอง */
.hx-page { min-height: clamp(300px, 46vh, 460px); display: flex; align-items: flex-end; }
.hx-page::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 18, 34, .9), rgba(8, 18, 34, .45) 70%, rgba(8, 18, 34, .25)); }
.hx-page .hx-bg img { transform: none; object-position: 60% 45%; }
.hx-page { align-items: center; }
.hx-page::before { background: linear-gradient(0deg, rgba(8, 18, 34, .82), rgba(8, 18, 34, .62)); }
.hx-page-text { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; text-align: center; display: grid; justify-items: center; }
.hx-page h1 { font-size: clamp(30px, 4.4vw, 54px); text-wrap: balance; }
.hx-page p { margin-top: 14px; max-width: 40em; color: #D7E0EB; font-size: 18px; }
.hx-page .btn { margin-top: 26px; }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: #B9C6D6; margin-bottom: 14px; }
.hx-page .crumbs { justify-content: center; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- แถบความสามารถหลัก: ตัวหนังสือล้วน คั่นด้วยเส้นบาง (รอบแก้ 1) ---------- */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-intro { padding-top: 26px; color: var(--muted); }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.proof-list li { padding: 24px 14px; }
.proof h3 { font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--navy); letter-spacing: .01em; }
.proof p { font-size: 15px; color: var(--muted); line-height: 1.55; margin-top: 4px; }

/* หัวข้อใหญ่: ตัดบรรทัดตรงช่องว่างที่ลูกค้าเว้นไว้ (จอกว้าง) */
@media (min-width: 720px) {
  .hx-title .ph, .hx-page h1 .ph, .cta-band h2 .ph, .intro-home h2 .ph { white-space: nowrap; }
}

/* หัวข้อเล็กเหนือหัวข้อส่วน */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--accent); margin-bottom: 8px; }
.sec-head.center .eyebrow { text-align: center; }
.sec-head.has-eyebrow h2 { padding-left: 0; }
.sec-head.has-eyebrow h2::before { display: none; }
.sec-head.has-eyebrow .lede { padding-left: 0; margin-top: 12px; }

/* ---------- หัวส่วน ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-mist { background: var(--mist); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 {
  position: relative; padding-left: 20px; font-size: clamp(28px, 3.6vw, 42px); color: var(--navy); text-wrap: balance;
}
.sec-head h2::before { content: ''; position: absolute; left: 0; top: .22em; bottom: .22em; width: 5px; background: var(--accent); }
.sec-head .lede { margin-top: 16px; padding-left: 20px; }
.lede { color: var(--muted); font-size: 18px; }
.on-dark h2 { color: #fff; }
.on-dark .lede { color: #B9C6D6; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center h2 { padding-left: 0; }
.sec-head.center h2::before { display: none; }
.sec-head.center .lede { padding-left: 0; }

/* ลิงก์ตัวหนังสือมีลูกศร */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; justify-self: start;
  color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor;
}
.arrow-link span { transition: transform .2s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }
ul.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.dots li { position: relative; padding-left: 22px; font-weight: 600; color: var(--navy); }
ul.dots li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- เกี่ยวกับเรา: รูปคู่ข้อความ ---------- */
.intro-grid { display: grid; gap: 32px; align-items: center; }
.intro-pic img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(16, 31, 53, .6); }
.intro-text { display: grid; gap: 20px; }
.intro-text h2 { font-size: clamp(28px, 3.6vw, 44px); color: var(--navy); text-wrap: balance; }
.intro-body { display: grid; gap: 16px; color: var(--muted); }
.intro-body p { line-height: 1.8; }

/* หน้าแรก: พื้นฟ้าอ่อนไล่สี รูปมุมมนมีแถบฟ้าด้านหลัง รายการติ๊กถูก (เลย์เอาต์รอบแก้ 1) */
.intro-home { background: linear-gradient(160deg, #F7FAFF 0%, #EAF2FE 100%); }
.intro-home .intro-pic { position: relative; }
.intro-home .intro-pic::before {
  content: ''; position: absolute; left: -14px; top: 16%; bottom: 16%; width: 44px; border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), #5AA2FF);
}
.intro-home .intro-pic img { position: relative; border-radius: 16px; box-shadow: 0 30px 60px -34px rgba(16, 31, 53, .55); }
.intro-home .intro-text { gap: 18px; }
.intro-home .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; letter-spacing: .02em; font-size: 16px; }
.intro-home .eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.intro-home h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.45; }
.intro-home ul.dots li { padding-left: 32px; }
.intro-home ul.dots li::before { left: 0; top: .28em; width: 20px; height: 20px; background: var(--accent); }
.intro-home ul.dots li::after {
  content: ''; position: absolute; left: 6px; top: calc(.28em + 5px); width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.btn-pill { justify-self: start; border-radius: 999px; min-height: 48px; padding: 10px 26px; }
.btn-pill svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn-pill:hover svg { transform: translateX(3px); }

/* ---------- บริการหน้าแรก: การ์ดตัวหนังสือมีเลขกำกับ ---------- */
.svc-sec { background: var(--mist); }
.svc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.svc-head .sec-head { margin-bottom: 0; }
.svc { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc-card {
  display: flex; flex-direction: column; gap: 28px; background: #fff; border-radius: var(--radius); padding: 22px 24px 26px;
  box-shadow: 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #C9D6E6, 0 26px 50px -30px rgba(16, 31, 53, .45); }
.svc-count { font-size: 14px; font-weight: 600; color: var(--steel); letter-spacing: .04em; }
.svc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #E9F1FD; color: var(--accent); transition: background .2s, color .2s; }
.svc-ico svg { width: 22px; height: 22px; }
.svc-card:hover .svc-ico { background: var(--accent); color: #fff; }
.btn-more { min-height: 46px; padding: 10px 20px; font-size: 15px; background: #fff; }
.btn-more span { transition: transform .2s var(--ease); }
.btn-more:hover span { transform: translateX(3px); }
.svc-body { display: grid; gap: 6px; align-content: start; margin-top: auto; }
.svc-cat { font-size: 14px; font-weight: 600; color: var(--accent); }
.svc-body h3 { font-size: 19px; color: var(--navy); line-height: 1.45; }
.svc-body p:not(.svc-cat) { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ---------- ทำไมต้องเรา (พื้นกรมท่า) ---------- */
.why { background: var(--navy-2); color: #fff; position: relative; }
.why::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 100% 0%, rgba(31, 111, 235, .18), transparent 70%); }
.why .wrap { position: relative; }
.why-grid { display: grid; gap: 40px; }
.why .sec-head { margin-bottom: 28px; }
.why .sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.stats dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.stats dl > div { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.stats dt { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; line-height: 1.3; color: #fff; }
.stats dd { margin: 2px 0 0; font-size: 15px; color: #A9B8CA; }
.stats-intro { color: #B9C6D6; margin-bottom: 12px; }
.why-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-cards li { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.why-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.why-no { font-size: 14px; color: #8EA1B8; }
.why-ico { color: #5AA2FF; }
.why-cards h3 { font-size: 18px; color: #fff; }
.why-cards p { font-size: 15px; color: #A9B8CA; line-height: 1.65; }

/* ---------- วิสัยทัศน์ / พันธกิจ ---------- */
.vm { display: grid; gap: 18px; }
.vm-card { background: #fff; border-radius: 10px; padding: clamp(24px, 3vw, 36px); border-top: 3px solid var(--accent); box-shadow: 0 20px 40px -32px rgba(16, 31, 53, .5); display: grid; gap: 16px; align-content: start; }
.vm-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 16px; border-radius: 999px; background: #E6EEFB; color: var(--accent); font-weight: 700; font-size: 18px; }
.vm-pill svg { width: 18px; height: 18px; }
.vm-card p { color: var(--muted); line-height: 1.8; }
.vm-en { font-size: 24px; color: var(--navy); line-height: 1.45; }
.vm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.vm-list li { position: relative; padding-left: 20px; line-height: 1.7; }
.vm-list li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- มาตรฐานและความน่าเชื่อถือ ---------- */
.std { display: grid; gap: 32px; align-items: center; }
.std .sec-head { margin-bottom: 0; }
.std-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.std-cards li { display: grid; gap: 8px; align-content: start; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.std-ico { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #C9D6E6; border-radius: 4px; color: var(--accent); margin-bottom: 10px; }
.std-cards h3 { font-size: 17px; color: var(--navy); }
.std-cards p { font-size: 15px; color: var(--muted); line-height: 1.65; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }

.svc-rows { display: grid; gap: clamp(40px, 6vw, 80px); }
.svc-row { display: grid; gap: 22px; align-items: center; }
.svc-row-pic img { width: 100%; border-radius: var(--radius); }
.svc-row-nopic .svc-row-text { max-width: 760px; padding: 28px 0; border-top: 1px solid var(--line); }
.svc-row-text { display: grid; gap: 10px; }
.svc-no { font-size: 46px; font-weight: 700; line-height: 1.4; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.svc-row h3 { font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); }
.svc-row-text > p:not(.svc-cat) { color: var(--muted); }

/* ---------- แถบภาพเต็มความกว้าง + กล่องข้อความ ---------- */
.band { position: relative; overflow: hidden; background: var(--navy-2); color: #fff; }
.band-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.band-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); will-change: transform; }
.band-wrap { position: relative; z-index: 2; }
.band-panel { padding: 34px 0 54px; display: grid; gap: 18px; }
.band-panel h2 { font-size: clamp(28px, 3.6vw, 42px); text-wrap: balance; }
.band-panel h2::before { content: ''; display: block; width: 44px; height: 4px; background: var(--accent); margin-bottom: 18px; }
.band-body { display: grid; gap: 12px; color: #D2DBE6; }
.band-body p { line-height: 1.75; }
.band-panel .btn { justify-self: start; margin-top: 6px; }
.band-noimg .band-panel { padding-top: 64px; }

/* ---------- ขั้นตอนทำงาน ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.process li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 0 0 30px; }
.process li::before { content: ''; position: absolute; left: 27px; top: 58px; bottom: 0; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.process li:last-child::before { display: none; }
.process-no {
  grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 4px;
  background: #fff; color: var(--accent); font-weight: 700; font-size: 17px; border: 1.5px solid #BFD3F2; position: relative; z-index: 1;
}
.process-ico { display: none; }
.process h3 { font-size: 19px; color: var(--navy); padding-top: 4px; }
.process p { color: var(--muted); font-size: 16px; }

/* ---------- คุณค่าที่ยึดถือ (หน้าเกี่ยวกับเรา) ---------- */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 48px 1fr; gap: 8px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.values-no { font-size: 15px; font-weight: 700; color: var(--accent); padding-top: 3px; }
.values-ico { display: none; }
.values h3 { font-size: 20px; color: var(--navy); }
.values p { color: var(--muted); margin-top: 4px; }

/* ---------- ผลงานที่ผ่านมา: การ์ดรูปบน ข้อความล่าง (รูปไฟล์จริงเป็นจัตุรัส ครอปเป็น 4:3 แค่ขอบบนล่าง) ---------- */
.works { background: var(--mist); }
.works-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.works-item { margin: 0; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.works-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.works-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.works-item:hover .works-pic img { transform: scale(1.04); }
.works-item figcaption { padding: 16px 18px 20px; display: grid; gap: 4px; }
.works-item figcaption b { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.works-item figcaption span { font-size: 15px; color: var(--muted); line-height: 1.6; }
.works-loc { display: flex; gap: 6px; align-items: flex-start; }
.works-loc svg { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.works-video { width: 100%; }

/* ---------- แบรนด์อุปกรณ์ ---------- */
.brand-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.brand-wall li { background: var(--mist); border-radius: var(--radius); padding: 20px 16px; display: grid; gap: 14px; align-content: start; }
.brand-logo { height: 64px; display: grid; place-items: center; background: #fff; border-radius: 4px; padding: 10px; }
.brand-logo img { max-height: 44px; width: auto; object-fit: contain; }
.brand-logo b { color: var(--navy); }
.brand-text b { display: block; font-size: 16px; color: var(--navy); }
.brand-text p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.brand-text small { display: block; font-size: 14px; color: var(--steel); margin-top: 4px; }
/* หน้าแรก: กรอบขาวโชว์เฉพาะโลโก้ */
.logo-wall {
  list-style: none; margin: 0; padding: clamp(16px, 2.4vw, 28px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(16, 31, 53, .45);
}
.logo-wall li { display: grid; place-items: center; height: 88px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.logo-wall li:hover { border-color: #C9D6E6; box-shadow: 0 12px 24px -18px rgba(16, 31, 53, .4); }
.logo-wall img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.logo-wall b { color: var(--navy); }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-wrap { display: grid; gap: 28px; }
.faq-side .btn { margin-top: 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--accent); transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 44px 22px 0; color: var(--muted); }
/* คำถามอยู่ในกรอบขาว มีป้ายไอคอนหน้าคำถาม หัวข้อใหญ่ขึ้น (รอบแก้ 1) */
.faq-side .sec-head { margin-bottom: 24px; }
.faq-side .sec-head h2 { font-size: clamp(30px, 3.8vw, 46px); }
.faq { background: #fff; border-radius: 16px; padding: 6px clamp(18px, 2.4vw, 30px); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -38px rgba(16, 31, 53, .45); }
.faq details:first-child { border-top: 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { justify-content: flex-start; }
.faq summary > span:not(.faq-q) { flex: 1; }
.faq-q { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #E9F1FD; color: var(--accent); }
.faq-q svg { width: 16px; height: 16px; }
.faq-a { padding-left: 48px; }

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.cta-dark { background: linear-gradient(120deg, var(--navy-2), var(--navy) 55%, #16305A); color: #fff; }
.cta-soft { background: var(--mist); }
.cta-inner { position: relative; display: grid; gap: 28px; }
.cta-dark::after { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(125, 184, 255, .12); pointer-events: none; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); text-wrap: balance; position: relative; }
.cta-dark .eyebrow { color: #5AA2FF; }
.cta-note { margin-top: 14px; max-width: 46em; font-size: 16px; color: #A9B8CA; }
.cta-soft .cta-note { color: var(--muted); }
.cta-call svg { width: 20px; height: 20px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; position: relative; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; text-decoration: none; }
.cta-dark .cta-phone svg { color: var(--volt); }

/* ---------- ติดต่อ ---------- */
.contact-sec { background: var(--navy); color: #fff; position: relative; }
.contact-sec::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 0% 100%, rgba(31, 111, 235, .25), transparent 70%); }
.contact { position: relative; display: grid; gap: 36px; }
.contact-info h2 { font-size: clamp(28px, 3.6vw, 42px); text-wrap: balance; }
.contact-info .lede { color: #C3CEDC; margin-top: 14px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; margin-top: 4px; color: var(--volt); }
.contact-list li:nth-child(2) svg { fill: var(--volt); stroke: none; }
.contact-list small { display: block; font-size: 14px; color: #9FB0C4; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-size: 17px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hours { list-style: none; margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 4px; font-size: 15px; color: #C3CEDC; }
.hours li { display: flex; justify-content: space-between; max-width: 340px; }
.hours .closed { color: #FFB4A8; }
.contact-info .btn-line { margin-top: 28px; }
.lead { background: #fff; color: var(--ink); border-radius: 10px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.lead h3 { font-size: 22px; color: var(--navy); }
.lead-2 { display: grid; gap: 16px; }
.lead label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.lead input, .lead textarea, .lead select {
  width: 100%; font: 16px/1.5 var(--font); color: var(--ink); padding: 12px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--mist); transition: border-color .2s, background .2s;
}
.lead input:focus, .lead textarea:focus, .lead select:focus { outline: none; border-color: var(--accent); background: #fff; }
.lead textarea { min-height: 120px; resize: vertical; }
.lead ::placeholder { color: #7D8DA1; }
.lead .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { font-size: 15px; min-height: 1em; }
.msg.ok { color: #0A7A3E; }
.msg.bad { color: #C0352B; }
.map-wrap { position: relative; margin-top: 36px; }
.map { width: 100%; height: 340px; border: 0; border-radius: 10px; }

/* ---------- ข้อความอิสระ / บทความความรู้ ---------- */
.note { padding: clamp(44px, 6vw, 72px) 0; }
.note + .note { padding-top: 0; }
.note-body { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.note-wide .note-body { max-width: none; }
.note-body h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); padding-left: 18px; border-left: 5px solid var(--accent); }
.note-body p { color: #33465C; font-size: 17px; line-height: 1.85; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--navy-2); color: #B9C6D6; padding: 64px 0 0; font-size: 15px; }
.foot-grid { display: grid; gap: 36px; padding-bottom: 44px; }
.foot-brand { display: grid; gap: 12px; max-width: 380px; }
.foot-logo { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.foot-brand b { color: #fff; font-size: 17px; }
.foot h2 { font-size: 16px; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; margin-top: 4px; color: var(--volt); }
.foot-contact li:nth-child(2) svg { fill: var(--volt); stroke: none; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; color: #8798AD; }

/* ---------- ปุ่มลอยมือถือ: ไลน์ + โทร ---------- */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .35); }
.float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; color: #fff; font-weight: 600; text-decoration: none; }
.fl-line { background: #06C755; }
.fl-line svg { fill: #fff; stroke: none; width: 22px; height: 22px; }
.fl-call { background: var(--navy); }
body { padding-bottom: 56px; }

/* ---------- ป๊อปอัปรูป ---------- */
dialog.light { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); }
dialog.light::backdrop { background: rgba(6, 12, 22, .9); }
dialog.light img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 6px; }
dialog.light p { color: #fff; text-align: center; margin-top: 10px; }
dialog.light button { position: fixed; top: 14px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; cursor: pointer; }

/* ---------- บทความ (ระบบบทความ ถ้าซื้อเพิ่มภายหลัง) ---------- */
.a-wrap { max-width: 780px; }
.a-wrap .crumbs { color: var(--steel); }
.a-wrap h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); }
.a-meta { color: var(--steel); font-size: 15px; margin-top: 10px; }
.a-cover { margin: 26px 0; }
.a-lead { font-size: 19px; color: var(--muted); margin-bottom: 18px; }
.a-toc { background: var(--mist); padding: 18px 22px; border-radius: var(--radius); margin: 20px 0; }
.a-body { display: grid; gap: 16px; }
.a-body h2 { font-size: 28px; color: var(--navy); margin-top: 18px; }
.a-fig { margin: 8px 0; }
.a-fig figcaption { font-size: 14px; color: var(--steel); margin-top: 6px; }
.a-cta, .a-embed { margin-top: 30px; padding: 22px; background: var(--mist); border-radius: var(--radius); display: grid; gap: 12px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.card-body { padding: 14px; display: grid; gap: 6px; }

/* ---------- พื้นที่กดอย่างน้อย 44px ทุกลิงก์ติดต่อ/เมนู ---------- */
.foot ul a, .contact-list a, .menu-contact a, .hx-phone, .cta-phone, .topbar a, .crumbs a {
  display: inline-flex; align-items: center; min-height: 44px;
}
.foot ul { gap: 0; }
.foot ul a { min-width: 44px; }
.foot-contact li { align-items: center; }
.foot-contact li > span { padding: 10px 0; }
.foot-contact svg { margin-top: 0; }
.contact-list { gap: 10px; }
.topbar .wrap { min-height: 44px; }

/* ---------- อนิเมชันตอนเลื่อนถึง (เล่นครั้งเดียว) ---------- */
.rv-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(min(var(--d, 0), 6) * 70ms); }
.rv-on .reveal.in { opacity: 1; transform: none; }
/* ================= รอบแก้ 2 ================= */
/* แบนเนอร์: ปุ่มแอดไลน์ + ปุ่มโทรเส้นขาว อยู่แถวเดียวกัน */
.hx-call { white-space: nowrap; border-radius: 999px; border-color: rgba(255, 255, 255, .85); }
/* แถบใต้แบนเนอร์: สัญลักษณ์หน้าหัวข้อ แนวเดียวกับขอบเนื้อหา */
.proof-list li { display: flex; gap: 12px; align-items: flex-start; }
.proof-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: #E9F1FD; color: var(--accent); }
.proof-ico svg { width: 22px; height: 22px; }
/* มาตรฐาน: ระยะบนล่างพอดีขึ้น */
.sec-std { padding: clamp(40px, 5vw, 64px) 0; }
.brands { padding-bottom: clamp(40px, 5vw, 64px); }
/* ผลงาน: ชื่องานใหญ่ชัดขึ้น + ป้ายประเภทงาน */
.works-item figcaption { gap: 6px; }
.works-item figcaption b { font-size: 19px; line-height: 1.45; }
.works-item figcaption .works-tag {
  justify-self: start; margin-top: 4px; padding: 3px 12px; border-radius: 999px;
  background: #E6EEFB; color: var(--accent); font-size: 14px; font-weight: 600; line-height: 1.5;
}
/* แถบชวนติดต่อ: ปุ่มเบอร์โทรพื้นเทาเข้ม */
.cta-call { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; border-radius: 999px; white-space: nowrap; }
.cta-call:hover { background: rgba(255, 255, 255, .18); box-shadow: none; }
.cta-actions .btn { border-radius: 999px; }
.cta-soft .cta-call { background: var(--navy); }
/* ขั้นตอนการรับบริการ: ระยะห่างจากส่วนก่อนหน้าพอดี หัวข้อทุกขั้นตรงแนวเดียวกัน */
.sec-process { padding: clamp(48px, 6vw, 80px) 0; }
.sec + .sec-process { padding-top: clamp(16px, 2vw, 32px); }
.sec-process .process li { align-content: start; }
/* หน้าเกี่ยวกับเรา: หัวข้อเล็ก + หัวข้ออังกฤษ + ที่อยู่ */
.intro-profile .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; letter-spacing: .08em; font-size: 14px; }
.intro-profile .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.intro-en { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.3; color: var(--navy); }
.intro-text .intro-profile + h2 { margin-top: -10px; }
.intro-facts { list-style: none; margin: 0; padding: 14px 18px; display: grid; gap: 8px; background: var(--mist); border-radius: 10px; }
.intro-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); }
.intro-facts svg { margin-top: 4px; color: var(--accent); }
/* หน้าแรก: คุยกับช่างโดยตรง */
.contact-home { background: #F7F9FC; }
.contact-home .contact { position: relative; display: grid; gap: 28px; }
.contact-home .sec-head { margin-bottom: 24px; }
.contact-home .lead { box-shadow: 0 0 0 1px var(--line), 0 24px 50px -38px rgba(16, 31, 53, .45); }
.contact-card { background: var(--navy); color: #fff; border-radius: 16px; padding: clamp(24px, 3vw, 34px); position: relative; overflow: hidden; align-self: start; }
.contact-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(31, 111, 235, .25); pointer-events: none; }
.contact-card h3 { font-size: 20px; }
.contact-card .contact-list { margin-top: 18px; }
.contact-card .btn-line { margin-top: 24px; position: relative; z-index: 1; }
@media (min-width: 960px) {
  .contact-home .contact { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .contact-card { align-self: end; }
  .cta-actions { gap: 12px; }
}
@media (max-width: 767px) {
  .proof-list li { flex-direction: column; gap: 10px; padding: 20px 10px; }
}
@media (min-width: 768px) {
  .proof-list li:first-child { padding-left: 0; }
  .proof-list li:last-child { padding-right: 0; }
}
@media (min-width: 1200px) {
  .proof p { white-space: nowrap; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hx-flash { animation: none; }
  .hx-bg img, .band-pic img { transform: none !important; }
  .btn, .svc-card, .works-item img { transition: none; }
}

/* ================= มือถือ (เมนูเต็มจอ) ================= */
@media (max-width: 959px) {
  .topbar { display: none; }
  .head-row { min-height: 66px; }
  .logo img { width: 46px; height: 46px; }
  .logo-text b { font-size: 15px; }
  .logo-text small { font-size: 14px; }
  .logo-text small.logo-en { font-size: 10.5px; }
  .logo-text { padding-left: 10px; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: var(--radius);
    background: var(--mist); color: var(--navy); cursor: pointer; position: relative; z-index: 61;
  }
  .nav-toggle svg { width: 24px; height: 24px; stroke-width: 2; }
  .nav-toggle svg:last-child { display: none; }
  body.nav-open .nav-toggle svg:first-child { display: none; }
  body.nav-open .nav-toggle svg:last-child { display: block; }
  body.nav-open { overflow: hidden; }
  .menu {
    position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 96px var(--pad) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  body.nav-open .menu { visibility: visible; opacity: 1; }
  body.nav-open .nav-toggle { background: rgba(255, 255, 255, .1); color: #fff; }
  .menu > a:not(.btn) { color: #fff; font-size: 22px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .menu > a:not(.btn)::after { display: none; }
  .menu > a[aria-current="page"] { color: var(--volt); }
  .menu-cta { margin: 28px 0 0; min-height: 54px; }
  .menu-contact { display: grid; gap: 14px; margin-top: 26px; }
  .menu-contact a { display: flex; gap: 10px; align-items: center; color: #D2DBE6; text-decoration: none; font-size: 17px; }
  .menu-contact svg { color: var(--volt); }
  .menu-contact a + a svg { fill: var(--volt); stroke: none; }

  .hero-slide { min-height: min(70svh, 640px); align-items: flex-end; }
  .hx-bg img { object-position: 62% 50%; }
  .hero-slide::before { background: linear-gradient(0deg, rgba(8, 18, 34, .95) 0%, rgba(8, 18, 34, .7) 50%, rgba(8, 18, 34, .2) 100%); }
  .hx-text { padding-top: 120px; padding-bottom: 40px; }
  .hx-eyebrow { font-size: 14px; margin-bottom: 14px; }
  .hx-sub { margin-top: 14px; font-size: 16px; }
  .hx-actions { margin-top: 24px; }
  .hx-actions .btn { flex: 1 1 100%; }
  .hx-phone { margin-top: 16px; }
}

/* ================= 480px+ ================= */
@media (min-width: 480px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .why-cards, .std-cards { grid-template-columns: repeat(2, 1fr); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .lead-2 { grid-template-columns: 1fr 1fr; }
  .hx-actions .btn { flex: 0 1 auto; }
}

/* ================= แท็บเล็ต 768px+ ================= */
@media (min-width: 768px) {
  .svc { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .proof-list { grid-template-columns: repeat(4, 1fr); }
  .proof-list li { padding: 26px 18px; }
  .proof-list li + li { border-left: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(3, 1fr); }

  /* แถบภาพ: ภาพเต็มจอ กล่องข้อความทับด้านใดด้านหนึ่ง */
  .band { min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center; }
  .band-pic { position: absolute; inset: 0; aspect-ratio: auto; }
  .band::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .band-left::after { background: linear-gradient(90deg, rgba(8, 18, 34, .9) 0%, rgba(8, 18, 34, .65) 40%, rgba(8, 18, 34, 0) 70%); }
  .band-right::after { background: linear-gradient(270deg, rgba(8, 18, 34, .9) 0%, rgba(8, 18, 34, .65) 40%, rgba(8, 18, 34, 0) 70%); }
  .band-panel { max-width: 520px; padding: 64px 0; }
  .band-right .band-panel { margin-left: auto; }

  .svc-row { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .svc-row.svc-row-nopic { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row-pic { order: 2; }
  .vm { grid-template-columns: 1fr 1fr; gap: 24px; }
  .intro-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); }
  .intro-flip .intro-pic { order: 2; }
  .intro-noimg .intro-grid { grid-template-columns: 1fr; max-width: 820px; }

  .process { grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; }
  .process li { grid-template-columns: 1fr; padding: 0; }
  .process li::before { left: 64px; right: -24px; top: 27px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); }
  .process-no { grid-row: auto; }
  .process h3 { padding-top: 12px; }
  .sec-process .process li { justify-items: center; text-align: center; }
  .sec-process .process li::before { left: calc(50% + 34px); right: calc(-50% + 10px); background: #CFDDF2; }
  .process h3 { font-size: 17px; }
  .process p { font-size: 15px; }

  .values li { grid-template-columns: 64px 48px 1fr; gap: 20px; padding: 28px 0; }
  .values-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--accent); }
  .values-ico svg { width: 22px; height: 22px; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}

/* ================= คอม 960px+ ================= */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .float-contact { display: none; }
  .svc { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 16px; }
  .svc-card { min-height: 220px; }
  .works-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
  .why-grid { grid-template-columns: .9fr 1.2fr; gap: 64px; align-items: start; }
  .std { grid-template-columns: .85fr 1.5fr; gap: 56px; }
  .std-cards { grid-template-columns: repeat(3, 1fr); }
  .brand-wall { grid-template-columns: repeat(6, 1fr); }
  .logo-wall { grid-template-columns: repeat(6, 1fr); }
  .foot-grid { grid-template-columns: 1.5fr .9fr 1.4fr 1.4fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .cta-actions { justify-content: flex-end; }
  .contact { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .faq-wrap { grid-template-columns: .85fr 1.4fr; gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: 140px; }
  .split-head { display: grid; grid-template-columns: .9fr 1.3fr; gap: 64px; align-items: start; }
}
@media (min-width: 1024px) {
  .hx-text { padding-bottom: 120px; }
}
