/* เว็บไซต์บริษัท 88 Control — ภาพหน้างานจริงเต็มจอ · โทนน้ำเงินเข้ม + แดงตามโลโก้ · เอฟเฟกต์ตอนเลื่อน (site.js) */
:root {
  --navy: #0f2a4a;
  --navy-2: #173d68;
  --navy-3: #0a1c33;
  --red: #d7262f;
  --red-2: #b91c24;
  --ink: #111b2b;
  --body: #3b4658;
  --muted: #6b778a;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 74, 0.1);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Noto Sans Thai", "Segoe UI", "Leelawadee UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.75 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 14px; }
figure { margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--body); max-width: 760px; }
.mt { margin-top: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.big { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- ค่อย ๆ โผล่ตอนเลื่อน (ทำงานเฉพาะเมื่อมี JavaScript) ---------- */
html.js .rv { opacity: 0; transform: translateY(42px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv--zoom { transform: scale(0.94); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- หัวเว็บ: โปร่งใสทับภาพ → ขาวเมื่อเลื่อน ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--ink); background: rgba(255, 255, 255, 0.97); box-shadow: 0 2px 20px rgba(10, 28, 51, 0.08); transition: background 0.35s, box-shadow 0.35s, color 0.35s; }
html.js .top:not(.is-solid):not(.is-open) { background: transparent; box-shadow: none; color: #fff; }
html.js .top:not(.is-solid):not(.is-open) .top__in { min-height: 92px; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; transition: min-height 0.35s; }
.brand { background: #fff; border-radius: 12px; padding: 6px 10px; line-height: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; color: inherit; text-decoration: none; font-weight: 600; padding: 8px 14px; }
.nav a:not(.lang)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:not(.lang):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .lang { border: 1.5px solid currentColor; border-radius: 999px; margin-left: 10px; font-size: 0.85rem; padding: 4px 14px; opacity: 0.9; }
.menu-btn { display: none; align-items: center; gap: 6px; background: none; border: 1.5px solid currentColor; color: inherit; border-radius: 999px; padding: 6px 14px; font: 600 0.95rem var(--font); cursor: pointer; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform 0.2s, background 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--red); }
.link svg { transition: transform 0.25s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* ---------- หน้าแรก: ภาพเต็มจอ เปลี่ยนเอง + ซูมช้า ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-3); }
.hero__slides, .hero__shade { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease, transform 7.5s linear; }
.hero__slide.is-on { opacity: 1; transform: scale(1); }
html:not(.js) .hero__slide:not(:first-child) { display: none; }
html:not(.js) .hero__slide:first-child { opacity: 1; transform: none; }
.hero__shade { background: linear-gradient(90deg, rgba(8, 22, 42, 0.88) 0%, rgba(8, 22, 42, 0.55) 55%, rgba(8, 22, 42, 0.25) 100%), linear-gradient(0deg, rgba(8, 22, 42, 0.6), transparent 40%); }
.hero__in { position: relative; padding: 140px 0 120px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero__lead { font-size: clamp(1.02rem, 1.8vw, 1.25rem); color: #d5e1f1; }
.eyebrow { display: inline-block; background: var(--red); color: #fff; padding: 5px 14px; border-radius: 4px; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.02em; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__down { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }
.hero__down i { width: 2px; height: 46px; background: rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; }
.hero__down i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- เกี่ยวกับเรา (ย่อ) + ตัวเลข ---------- */
.sec { padding: 96px 0; }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--navy-3); color: #b9c8dc; }
.sec--dark .big, .sec--dark h3 { color: #fff; }
.intro__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(10, 28, 51, 0.2); }
.intro__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.stat { padding: 28px 12px 0; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; color: var(--red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.98rem; }

/* ---------- บริการ: ภาพสูงเรียงเต็มจอ ---------- */
.svcs { padding: 96px 0 0; background: #fff; }
.svcs__head { margin-bottom: 36px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; aspect-ratio: 4 / 3.3; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 42, 0.05) 30%, rgba(8, 22, 42, 0.9) 100%); transition: background 0.5s; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px; display: flex; flex-direction: column; gap: 6px; }
.tile__num { font-size: 0.85rem; font-weight: 700; color: #ff9aa0; letter-spacing: 0.1em; }
.tile__title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.3; }
.tile__text { font-size: 0.95rem; color: #d5e1f1; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--ease), opacity 0.4s; }
.tile__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; margin-top: 6px; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.08); }
.tile:hover .tile__shade, .tile:focus-visible .tile__shade { background: linear-gradient(180deg, rgba(8, 22, 42, 0.25) 0%, rgba(8, 22, 42, 0.92) 100%); }
.tile:hover .tile__text, .tile:focus-visible .tile__text { max-height: 8em; opacity: 1; }
html.js .tile.rv { transform: translateY(60px); }
html.js .tile.rv.in { transform: none; }

/* ---------- ข้อมูลการจดทะเบียน (หน้าเกี่ยวกับเรา) ---------- */
.reg { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: start; margin-top: 36px; }
.reg__list { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.reg__list > div { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; padding: 16px 24px; }
.reg__list > div + div { border-top: 1px solid var(--line); }
.reg__list dt { color: var(--muted); font-size: 0.95rem; }
.reg__list dd { margin: 0; font-weight: 600; color: var(--navy); }
.reg__docs { display: grid; gap: 20px; }
.doc { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--body); transition: box-shadow 0.3s, translate 0.3s var(--ease); }
.doc:hover { translate: 0 -3px; box-shadow: 0 14px 34px rgba(15, 42, 74, 0.16); }
.doc img { width: 120px; height: 150px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 6px; }
.doc b { display: block; color: var(--navy); line-height: 1.4; }
.doc small { color: var(--muted); }
.reg__note { margin-top: 26px; font-size: 0.88rem; color: var(--muted); max-width: 900px; }
@media (max-width: 1000px) { .reg { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .reg__list > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; } .doc { grid-template-columns: 88px 1fr; } .doc img { width: 88px; height: 112px; } }

/* ---------- กดรูปแล้วขยายดูในหน้าเดิม ---------- */
.zoomable, .gallery a, .photos a, .doc { cursor: zoom-in; }
html.zoom-open { overflow: hidden; }
.zoom { position: fixed; inset: 0; z-index: 2000; display: none; background: rgba(6, 14, 26, 0.94); }
.zoom.is-open { display: block; animation: zoomIn 0.22s ease; }
@keyframes zoomIn { from { opacity: 0; } to { opacity: 1; } }
.zoom__stage { position: absolute; inset: 56px 64px 60px; display: flex; align-items: center; justify-content: center; overflow: auto; }
.zoom__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); cursor: zoom-in; background: #fff; }
.zoom.is-big .zoom__stage { display: block; inset: 56px 0 60px; text-align: center; }
.zoom.is-big .zoom__img { max-width: none; max-height: none; cursor: zoom-out; border-radius: 0; }
.zoom__x, .zoom__nav { position: absolute; z-index: 2; border: 0; color: #fff; background: rgba(255, 255, 255, 0.12); cursor: pointer; font-family: inherit; line-height: 1; transition: background 0.2s; }
.zoom__x:hover, .zoom__nav:hover, .zoom__x:focus-visible, .zoom__nav:focus-visible { background: var(--red); }
.zoom__x { top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; }
.zoom__nav { top: 50%; translate: 0 -50%; width: 46px; height: 64px; border-radius: 10px; font-size: 40px; padding-bottom: 6px; }
.zoom__nav--prev { left: 10px; }
.zoom__nav--next { right: 10px; }
.zoom.is-single .zoom__nav { display: none; }
.zoom__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 16px; color: #d5e1f1; font-size: 0.92rem; text-align: center; }
.zoom__cap { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70vw; }
.zoom__count { color: #8fa3bd; white-space: nowrap; }
@media (max-width: 640px) {
  .zoom__stage { inset: 54px 0 56px; }
  .zoom__nav { width: 38px; height: 54px; font-size: 32px; background: rgba(6, 14, 26, 0.55); }
  .zoom__nav--prev { left: 4px; }
  .zoom__nav--next { right: 4px; }
  .zoom__bar { height: 56px; font-size: 0.85rem; }
}
@media print { .zoom { display: none !important; } }

/* ---------- แถบภาพ parallax ---------- */
.band, .phero, .cta { position: relative; overflow: hidden; }
.band__bg, .phero__bg, .cta__bg { position: absolute; left: 0; right: 0; top: -18%; bottom: -18%; will-change: transform; }
.band__bg img, .phero__bg img, .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.band { min-height: 72vh; display: flex; align-items: center; color: #fff; }
.band__shade { position: absolute; inset: 0; background: rgba(8, 22, 42, 0.62); }
.band__in { position: relative; padding: 120px 0; }
.band__quote { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 800; line-height: 1.35; margin: 0; max-width: 900px; }
.band__quote::before { content: ""; display: block; width: 60px; height: 4px; background: var(--red); margin-bottom: 26px; }

/* ---------- หัวหน้าย่อย (ภาพเต็มกว้าง) ---------- */
.phero { min-height: 58vh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-3); }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 22, 42, 0.9) 0%, rgba(8, 22, 42, 0.45) 55%, rgba(8, 22, 42, 0.35) 100%); }
.phero__in { position: relative; padding: 150px 0 56px; }
.phero h1 { color: #fff; margin: 0; }
.phero__sub { color: #d5e1f1; font-size: 1.1rem; margin: 8px 0 0; }
.crumbs { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 12px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- การ์ด ---------- */
.sec__title { margin-bottom: 26px; position: relative; padding-left: 16px; }
.sec__title::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 5px; border-radius: 3px; background: var(--red); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--body); overflow: hidden; transition: box-shadow 0.3s, translate 0.3s var(--ease); }
.card:hover { translate: 0 -6px; box-shadow: 0 22px 44px rgba(15, 42, 74, 0.16); }
.proj__img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e6edf7, #f6f8fc); overflow: hidden; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proj:hover .proj__img img { transform: scale(1.07); }
.proj__body { padding: 18px 20px 8px; }
.proj__body p { font-size: 0.95rem; margin-bottom: 8px; }
.valve img { width: 100%; aspect-ratio: 10 / 7; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.valve h3, .valve p { padding: 0 18px; }
.valve h3 { margin-top: 14px; margin-bottom: 0; }
.valve p:last-child { font-size: 0.95rem; padding-bottom: 6px; }

.split { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: start; }
.split--wide { grid-template-columns: 1fr; max-width: 860px; }
.split__img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); background: #fff; transition: transform 0.6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.photos img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.photos figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 20px; }
.facts div { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; border-left: 4px solid var(--red); }
.facts dt { font-size: 0.85rem; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.refs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px 24px; }
.refs li { position: relative; padding: 10px 14px 10px 34px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.refs li::before { content: ""; position: absolute; left: 14px; top: 1.05em; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

/* ---------- จุดแข็ง ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.why__item { padding: 30px 26px 10px 0; }
.why__item + .why__item { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.why__num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 14px; }
.why__item p { font-size: 0.96rem; }

/* ---------- รายชื่อลูกค้าเลื่อนไม่หยุด ---------- */
.clients { padding: 80px 0 90px; background: var(--bg-alt); overflow: hidden; }
.marq { margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq__track { display: flex; width: max-content; animation: marq 60s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 14px 0 0; }
.marq li { white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; color: var(--ink); font-weight: 500; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- ติดต่อ ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact__list { margin: 0; }
.contact__row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__row svg { color: var(--red); margin-top: 4px; width: 1.3em; height: 1.3em; }
.contact__row dt { font-size: 0.85rem; color: var(--muted); }
.contact__row dd { margin: 0; color: var(--ink); font-weight: 500; }
.contact__list p { margin-top: 20px; }
.contact__map iframe { width: 100%; height: 460px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* ---------- ชวนติดต่อ ---------- */
.cta { color: #ffe7e8; background: var(--red-2); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(185, 28, 36, 0.96) 0%, rgba(150, 20, 28, 0.88) 60%, rgba(10, 28, 51, 0.75) 100%); }
.cta__in { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 72px 0; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 4px; font-size: clamp(1.4rem, 3vw, 2.1rem); }
.cta p { margin: 0; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--red { background: #fff; color: var(--red-2); }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--navy-3); color: #b8c6da; padding-top: 56px; font-size: 0.95rem; }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 28px; }
.foot__mark { background: #fff; border-radius: 50%; margin-bottom: 10px; }
.foot__name { color: #fff; font-weight: 600; margin-bottom: 2px; }
.foot__muted { color: #8ea2bd; }
.foot__row { display: flex; gap: 10px; }
.foot__row svg { color: #ff6b73; margin-top: 5px; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 28px; padding: 16px 0 24px; color: #7f93ae; font-size: 0.88rem; }
.callbar { display: none; }

/* ---------- แท็บเล็ต ---------- */
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 8px 20px 18px; box-shadow: 0 14px 30px rgba(10, 28, 51, 0.15); display: none; }
  .top.is-open .nav { display: flex; }
  html:not(.js) .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; box-shadow: none; padding: 0; background: none; }
  html:not(.js) .menu-btn { display: none; }
  .nav a { color: var(--ink); padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.lang)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav .lang { align-self: flex-start; margin: 12px 0 0; border-color: var(--line); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .intro__in, .split, .contact, .foot__grid { grid-template-columns: 1fr; gap: 36px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .split__img { max-width: 360px; }
}
/* ---------- มือถือ ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand img { height: 32px; }
  html.js .top:not(.is-solid):not(.is-open) .top__in, .top__in { min-height: 64px; }
  .hero h1 br, .band__quote br { display: none; }
  .hero__in { padding: 110px 0 110px; }
  .sec { padding: 64px 0; }
  .svcs { padding-top: 64px; }
  .tiles, .grid--3, .why { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3.4; }
  .tile__text { max-height: 8em; opacity: 1; }
  .why__item, .why__item + .why__item { padding: 24px 0 6px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .stats { margin-top: 48px; }
  .stat { padding: 20px 4px 0; }
  .stat span { font-size: 0.8rem; display: block; line-height: 1.4; }
  .band { min-height: 56vh; }
  .phero { min-height: 46vh; }
  .phero__in { padding: 120px 0 36px; }
  .refs { grid-template-columns: 1fr; }
  .contact__map iframe { height: 300px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cta__in { padding: 56px 0; }
  .foot__bottom { padding-bottom: 90px; }
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; justify-content: center; align-items: center; gap: 8px; padding: 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(215, 38, 47, 0.4); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
}
@media print { .top, .callbar, .cta, .foot, .hero__down { display: none; } html.js .rv { opacity: 1; transform: none; } }
