/* =====================================================================
   YUTAPAK — Design system & components
   Palette: Deep Navy #082B46 · Ocean #075A91 · Indigo #3455C7 · Aqua #27C4D8
   ===================================================================== */
:root {
  --navy: #082B46; --navy-2: #0B3657; --ocean: #075A91; --indigo: #3455C7; --aqua: #27C4D8; --aqua-2: #1AA9BC;
  --light: #EAF7FC; --mist: #F4F8FB; --line: #DCE6EE; --ink: #0B1F33; --ink-2: #3D5468; --muted: #6A8093; --white: #fff;
  --grad: linear-gradient(120deg, #082B46 0%, #075A91 55%, #3455C7 100%);
  --grad-aqua: linear-gradient(90deg, #27C4D8, #3455C7);
  --f-th: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --f-en: 'Manrope', 'Inter', system-ui, sans-serif;
  --r: 4px; --r-lg: 8px;
  --sh-1: 0 1px 2px rgba(8, 43, 70, .06), 0 4px 16px rgba(8, 43, 70, .06);
  --sh-2: 0 10px 40px rgba(8, 43, 70, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px; --hh: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; font-family: var(--f-th); font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { font-family: var(--f-en); line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.005em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 48px); }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--aqua); color: var(--navy); padding: 8px 14px; border-radius: var(--r); font-weight: 700; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.small { font-size: .875rem; } .muted { color: var(--muted); }
.eyebrow { font-family: var(--f-en); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean); margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .6rem; }
html[lang="th"] .eyebrow { font-family: var(--f-th); letter-spacing: .08em; font-size: .82rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--aqua); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.chip { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 2px; background: var(--light); color: var(--ocean); letter-spacing: .02em; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .65rem 1.3rem; border-radius: var(--r); background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; line-height: 1.2; border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s; position: relative; overflow: hidden; white-space: nowrap; }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { --bg: var(--aqua); --fg: var(--navy); }
.btn-primary:hover { --bg: #4FD4E4; box-shadow: 0 8px 24px rgba(39, 196, 216, .35); }
.btn-dark:hover { --bg: var(--ocean); }
.btn-light { --bg: #fff; --fg: var(--navy); } .btn-light:hover { --bg: var(--light); }
.btn-outline { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .06); --fg: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-text, .btn-link { --bg: transparent; --fg: var(--ocean); padding-inline: .2rem; min-height: 40px; }
.btn-text:hover, .btn-link:hover { --fg: var(--navy); }
.btn-text-light { --bg: transparent; --fg: rgba(255, 255, 255, .8); padding-inline: .6rem; }
.btn-line { --bg: #06C755; --fg: #fff; } .btn-line:hover { --bg: #05B04B; }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: .8rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r); transition: background .2s; }
.icon-btn:hover { background: rgba(8, 43, 70, .06); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--navy); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 30%, rgba(39, 196, 216, .22), transparent 70%), radial-gradient(50% 50% at 20% 80%, rgba(52, 85, 199, .35), transparent 70%); }
.loader-inner { position: relative; display: grid; gap: 22px; justify-items: center; }
.loader img { width: 220px; clip-path: inset(0 100% 0 0); animation: reveal 1s var(--ease) .1s forwards; }
.loader-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--grad-aqua); animation: bar 1s var(--ease) infinite; }
@keyframes reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.is-loaded .loader, .no-loader .loader { opacity: 0; visibility: hidden; }
.no-loader .loader { display: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hh); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(8, 43, 70, .06); }
.site-header.hide { transform: translateY(-100%); }
.header-row { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { flex: none; } .brand img { height: 40px; width: auto; }
.logo-light { display: none !important; }
.main-nav { display: flex; gap: .25rem; margin-left: auto; }
.nav-link { position: relative; padding: .5rem .8rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); padding: 2px; font-family: var(--f-en); font-size: .78rem; font-weight: 700; }
.lang-switch a { padding: .35rem .55rem; border-radius: 2px; color: var(--muted); transition: background .2s, color .2s; min-width: 34px; text-align: center; }
.lang-switch a.on { background: var(--navy); color: #fff; }
.lang-switch a:not(.on):hover { color: var(--navy); }
.menu-btn { display: none; }
/* transparent header over dark hero */
.is-home .site-header:not(.scrolled), .has-dark-hero .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; }
.is-home .site-header:not(.scrolled) .logo-dark, .has-dark-hero .site-header:not(.scrolled) .logo-dark { display: none !important; }
.is-home .site-header:not(.scrolled) .logo-light, .has-dark-hero .site-header:not(.scrolled) .logo-light { display: block !important; }
.is-home .site-header:not(.scrolled) :is(.nav-link, .icon-btn), .has-dark-hero .site-header:not(.scrolled) :is(.nav-link, .icon-btn) { color: rgba(255, 255, 255, .85); }
.is-home .site-header:not(.scrolled) .nav-link:hover, .has-dark-hero .site-header:not(.scrolled) .nav-link:hover, .has-dark-hero .site-header:not(.scrolled) .nav-link.is-active { color: #fff; }
.is-home .site-header:not(.scrolled) .icon-btn:hover, .has-dark-hero .site-header:not(.scrolled) .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.is-home .site-header:not(.scrolled) .lang-switch, .has-dark-hero .site-header:not(.scrolled) .lang-switch { border-color: rgba(255, 255, 255, .25); }
.is-home .site-header:not(.scrolled) .lang-switch a.on, .has-dark-hero .site-header:not(.scrolled) .lang-switch a.on { background: #fff; color: var(--navy); }
.is-home .site-header:not(.scrolled) .lang-switch a:not(.on), .has-dark-hero .site-header:not(.scrolled) .lang-switch a:not(.on) { color: rgba(255, 255, 255, .7); }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-menu.open { visibility: visible; }
.mm-backdrop { position: absolute; inset: 0; background: rgba(4, 20, 34, .55); opacity: 0; transition: opacity .35s; }
.mobile-menu.open .mm-backdrop { opacity: 1; }
.mm-panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--grad); color: #fff; display: flex; flex-direction: column; padding: 16px 24px calc(24px + env(safe-area-inset-bottom)); transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; }
.mobile-menu.open .mm-panel { transform: none; }
.mm-head { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mm-head .icon-btn { color: #fff; }
.mm-nav { display: grid; margin: 24px 0; }
.mm-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 1.35rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateX(20px); transition: opacity .4s, transform .4s var(--ease), color .2s; transition-delay: calc(var(--i) * 40ms + 120ms); }
.mm-nav a.is-active { color: var(--aqua); }
.mobile-menu.open .mm-nav a { opacity: 1; transform: none; }
.mm-nav .ic { opacity: .5; }
.mm-foot { margin-top: auto; display: grid; gap: 12px; }
.mm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lang-switch-lg { border-color: rgba(255, 255, 255, .25); justify-self: start; }
.lang-switch-lg a { color: rgba(255, 255, 255, .75); padding: .5rem .9rem; font-family: var(--f-th); font-size: .9rem; }
.lang-switch-lg a.on { background: #fff; color: var(--navy); }

/* ---------- Background motion ---------- */
.wave { position: absolute; left: -10%; width: 120%; height: 60%; bottom: -20%; border-radius: 45%; opacity: .5; animation: drift 22s linear infinite; pointer-events: none; }
.wave.w1 { background: radial-gradient(closest-side, rgba(39, 196, 216, .28), transparent); }
.wave.w2 { background: radial-gradient(closest-side, rgba(52, 85, 199, .5), transparent); animation-duration: 30s; animation-direction: reverse; bottom: -30%; left: -20%; }
.wave.w3 { background: radial-gradient(closest-side, rgba(7, 90, 145, .6), transparent); animation-duration: 38s; bottom: auto; top: -30%; }
@keyframes drift { 0% { transform: translateX(0) rotate(0); } 50% { transform: translateX(6%) rotate(8deg); } 100% { transform: translateX(0) rotate(0); } }
.tech-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); animation: grid 40s linear infinite; }
@keyframes grid { to { background-position: 64px 64px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); background: var(--grad); color: #fff; overflow: hidden; padding: calc(var(--hh) + 40px) 0 0; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -200px; top: -250px; background: radial-gradient(closest-side, rgba(39, 196, 216, .3), transparent); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke: rgba(39, 196, 216, .35); stroke-width: 1.2; stroke-dasharray: 6 10; animation: dash 18s linear infinite; }
.hero-lines path:nth-child(2) { stroke: rgba(255, 255, 255, .12); animation-duration: 26s; }
.hero-lines path:nth-child(3) { stroke: rgba(52, 85, 199, .5); animation-duration: 32s; animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-eyebrow { color: rgba(255, 255, 255, .8); }
.hero-eyebrow::before { display: none; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(39, 196, 216, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(39, 196, 216, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 196, 216, 0); } }
.hero h1 { font-size: clamp(2rem, 3.9vw, 3.5rem); font-weight: 700; line-height: 1.22; margin-bottom: 1.4rem; }
html[lang="en"] .hero h1 { line-height: 1.06; font-weight: 800; }
.hero h1 > span { display: block; }
.hero h1 .nw { white-space: nowrap; }
@media (min-width: 641px) { html[lang="th"] .hero h1 > span:first-child { white-space: nowrap; } }
.hero h1 .accent { background: linear-gradient(90deg, #7FE6F2, var(--aqua) 50%, #8EA6FF); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .62em; margin-top: .35em; font-weight: 600; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.15rem; margin-bottom: 2rem; }
.hero-call { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.8rem; padding: .6rem 1rem .6rem .6rem; border-radius: var(--r); transition: background .25s; }
.hero-call:hover { background: rgba(255, 255, 255, .07); }
.hero-call > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(39, 196, 216, .16); color: var(--aqua); }
.hero-call small { display: block; color: rgba(255, 255, 255, .65); font-size: .82rem; }
.hero-call strong { font-family: var(--f-en); font-size: 1.25rem; letter-spacing: .02em; }
.hero-art { position: relative; align-self: end; }
.hero-eq { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); animation: floatY 8s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
.float-chip { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border-radius: var(--r); background: rgba(8, 43, 70, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); font-size: .88rem; font-weight: 600; animation: floatY 7s ease-in-out infinite; }
.float-chip .ic { color: var(--aqua); }
.float-chip.c1 { top: 14%; left: -2%; }
.float-chip.c2 { bottom: 26%; right: 0; animation-delay: -3s; }
.hero-measure { position: absolute; left: 4%; top: 10%; height: 62%; width: auto; opacity: .5; }
.hero-measure path { stroke: var(--aqua); stroke-width: 1.5; fill: none; }
.hero-cats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px; }
.hero-cats a { position: relative; display: grid; gap: 2px; padding: 22px 48px 26px 0; border-right: 1px solid rgba(255, 255, 255, .1); transition: background .3s; }
.hero-cats a + a { padding-left: 24px; }
.hero-cats a:last-child { border-right: 0; }
.hero-cats small { font-family: var(--f-en); font-size: .7rem; letter-spacing: .14em; color: var(--aqua); font-weight: 700; }
.hero-cats span { font-weight: 600; }
.hero-cats .ic { position: absolute; right: 16px; top: 26px; opacity: .5; transition: transform .3s var(--ease), opacity .3s; }
.hero-cats a:hover .ic { transform: translate(3px, -3px); opacity: 1; color: var(--aqua); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--grad); color: #fff; padding: calc(var(--hh) + 56px) 0 64px; overflow: hidden; }
.page-hero.compact { padding-bottom: 48px; }
.ph-bg { position: absolute; inset: 0; pointer-events: none; }
.ph-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.page-hero.compact .ph-grid { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .8rem; }
.page-hero .lead { color: rgba(255, 255, 255, .78); }
.page-hero .eyebrow { color: var(--aqua); }
.ph-art img { border-radius: var(--r-lg); box-shadow: var(--sh-2); border: 1px solid rgba(255, 255, 255, .12); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; margin-bottom: 1.4rem; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a:hover { color: #fff; }
.crumbs li[aria-current] { color: rgba(255, 255, 255, .9); }
.pd .crumbs ol, .pj .crumbs ol, .art-head .crumbs ol { color: var(--muted); }
.pd .crumbs a:hover, .pj .crumbs a:hover, .art-head .crumbs a:hover { color: var(--navy); }
.pd .crumbs li[aria-current], .pj .crumbs li[aria-current], .art-head .crumbs li[aria-current] { color: var(--ink); }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.bg-light { background: var(--mist); }
.bg-navy { background: var(--navy); color: #fff; overflow: hidden; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: .8rem; }
.sec-head .lead { margin: 0; }
.sec-head.on-dark h2 { color: #fff; } .sec-head.on-dark .lead { color: rgba(255, 255, 255, .72); } .sec-head.on-dark .eyebrow { color: var(--aqua); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head-row .sec-head { margin-bottom: 0; }
.h-sub { font-size: 1.5rem; margin: 0 0 24px; }
.h-sub:not(:first-child) { margin-top: 72px; }

/* ---------- Highlights ---------- */
.highlights { position: relative; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hl { position: relative; padding: 40px 32px 44px; border-right: 1px solid var(--line); overflow: hidden; transition: color .35s; isolation: isolate; }
.hl:first-child { border-left: 1px solid var(--line); }
.hl::before { content: ""; position: absolute; inset: 0; background: var(--grad); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.hl:hover::before { transform: none; }
.hl:hover { color: #fff; }
.hl-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r); background: var(--light); color: var(--ocean); margin-bottom: 22px; transition: transform .4s var(--ease), background .35s, color .35s; }
.hl-ic .ic { width: 28px; height: 28px; }
.hl:hover .hl-ic { transform: translateY(-4px) rotate(-6deg); background: var(--aqua); color: var(--navy); }
.hl-num { position: absolute; top: 34px; right: 28px; font-family: var(--f-en); font-weight: 800; font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.hl h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.hl p { color: var(--ink-2); margin: 0; font-size: .95rem; transition: color .35s; }
.hl:hover p, .hl:hover .hl-num { color: rgba(255, 255, 255, .75); }
.hl-arrow { position: absolute; right: 28px; bottom: 28px; opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); color: var(--aqua); }
.hl:hover .hl-arrow { opacity: 1; transform: none; }

/* ---------- Categories (editorial grid) ---------- */
.cat-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.cat { position: relative; display: flex; flex-direction: column; background: var(--navy); color: #fff; border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.cat-1 { grid-row: span 2; }
.cat-2 { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
.cat-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.cat-1 .cat-media { flex: 1; aspect-ratio: auto; min-height: 320px; }
.cat-2 .cat-media { aspect-ratio: auto; min-height: 260px; }
.cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat-media img { transform: scale(1.05); }
.cat-body { position: relative; padding: 24px 26px 26px; border-top: 2px solid var(--aqua); }
.cat-2 .cat-body { border-top: 0; border-left: 2px solid var(--aqua); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.cat-idx { position: absolute; top: -40px; right: 20px; font-family: var(--f-en); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.cat-2 .cat-idx { top: 20px; }
.cat-label { font-family: var(--f-en); font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--aqua); margin: 0 0 .3rem; }
.cat h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.cat-1 h3 { font-size: 1.9rem; }
.cat p { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.cat-cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; padding-bottom: 3px; border-bottom: 1.5px solid var(--aqua); align-self: flex-start; }
.cat-cta .ic { transition: transform .3s var(--ease); }
.cat:hover .cat-cta .ic { transform: translateX(4px); }

/* ---------- Product card ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.pcard-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--navy); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.tag-demo { position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: .25rem .55rem; border-radius: 2px; background: rgba(255, 255, 255, .92); color: var(--ocean); text-transform: uppercase; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pcard-cat { font-family: var(--f-en); font-size: .7rem; font-weight: 800; letter-spacing: .16em; color: var(--aqua-2); margin: 0 0 .35rem; }
.pcard-title { font-size: 1.12rem; margin-bottom: 1rem; }
.pcard-title a { background: linear-gradient(var(--aqua), var(--aqua)) 0 100%/0 2px no-repeat; transition: background-size .35s var(--ease); }
.pcard-title a:hover { background-size: 100% 2px; }
.pcard-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0 0 14px; padding: 14px 0; border-block: 1px solid var(--line); }
.pcard-specs dt { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--muted); }
.pcard-specs dt .ic { width: 14px; height: 14px; color: var(--aqua-2); }
.pcard-specs dd { margin: 0; font-weight: 700; font-size: .95rem; font-family: var(--f-en); }
html[lang="th"] .pcard-specs dd { font-family: var(--f-th); }
.pcard-avail { display: flex; gap: .4rem; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.pcard-avail .ic { width: 14px; height: 14px; }
.pcard-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
[data-compare-toggle][aria-pressed="true"] { background: var(--light); border-color: var(--aqua); color: var(--ocean); }
/* list view */
.p-grid.list { grid-template-columns: 1fr; }
.p-grid.list .pcard { flex-direction: row; }
.p-grid.list .pcard-media { width: 300px; flex: none; aspect-ratio: auto; }
.p-grid.list .pcard-specs { grid-template-columns: repeat(4, 1fr); }

.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--light); border-left: 3px solid var(--aqua); color: var(--ink-2); font-size: .9rem; margin-bottom: 28px; }
.notice .ic { color: var(--ocean); margin-top: 3px; }
.notice p { margin: 0; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; position: sticky; top: calc(var(--hh) + 24px); }
.why-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.why-badge { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: rgba(255, 255, 255, .95); border-radius: var(--r); }
.why-badge strong { font-family: var(--f-en); font-size: 3rem; line-height: 1; color: var(--ocean); }
.why-badge span { font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); }
.why-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.why-list li:nth-child(even) { padding-left: 20px; }
.why-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); color: var(--ocean); border: 1px solid var(--line); transition: .3s var(--ease); }
.why-list li:hover .why-ic { background: var(--navy); color: var(--aqua); border-color: var(--navy); transform: translateY(-3px); }
.why-list h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.why-list p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---------- Service rows (home) ---------- */
.services-ov { background: var(--navy); }
.services-ov::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(52, 85, 199, .45), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(39, 196, 216, .14), transparent 70%); }
.services-ov .wrap { position: relative; }
.svc-rows { border-top: 1px solid rgba(255, 255, 255, .14); }
.svc-row { position: relative; display: grid; grid-template-columns: 60px 56px 1.1fr 1.6fr 56px; gap: 24px; align-items: center; padding: 28px 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); transition: background .35s; }
.svc-row:hover { background: rgba(255, 255, 255, .04); }
.svc-num { font-family: var(--f-en); font-weight: 800; color: rgba(255, 255, 255, .4); letter-spacing: .1em; }
.svc-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r); background: rgba(39, 196, 216, .12); color: var(--aqua); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-row h3 { font-size: 1.35rem; }
.svc-row p { margin: 0; color: rgba(255, 255, 255, .7); }
.svc-thumb { position: absolute; right: 100px; top: 50%; width: 200px; transform: translateY(-50%) scale(.9) rotate(-3deg); opacity: 0; transition: .45s var(--ease); pointer-events: none; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); }
.svc-row:hover .svc-thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }
.svc-arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: .35s var(--ease); }
.svc-row:hover .svc-arrow { background: var(--aqua); color: var(--navy); border-color: var(--aqua); transform: rotate(45deg); }

/* ---------- Delivery ---------- */
.delivery { overflow: hidden; }
.del-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.del-map { position: relative; background: var(--navy); border-radius: var(--r-lg); padding: 24px; aspect-ratio: 34/48; display: grid; place-items: center; overflow: hidden; }
.del-map::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 60% 60%, rgba(39, 196, 216, .18), transparent 70%); }
.bg-navy .del-map { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.th-map { position: relative; width: 100%; height: 100%; }
.th-map .route { fill: none; stroke: var(--aqua); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: .85; animation: dash 6s linear infinite; }
.th-map .city circle { fill: #fff; }
.th-map .city .pulse { fill: var(--aqua); opacity: .4; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; animation-delay: var(--d); }
.th-map .city.hq circle:not(.pulse) { fill: var(--aqua); }
.th-map .city text { fill: rgba(255, 255, 255, .78); font: 600 10px var(--f-th); }
.th-map .city.hq text { fill: #fff; font-size: 12px; font-weight: 700; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.del-points { display: grid; gap: 4px; margin: 0 0 32px; }
.del-points li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.del-points .ic { width: 26px; height: 26px; color: var(--ocean); margin-top: 2px; }
.del-points strong { display: block; } .del-points span { color: var(--ink-2); font-size: .94rem; }

/* ---------- Projects (masonry) ---------- */
.masonry { columns: 3 300px; column-gap: 20px; }
.masonry.three { columns: 3 260px; }
.ptile { position: relative; display: block; break-inside: avoid; margin-bottom: 20px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.ptile img { width: 100%; transition: transform .9s var(--ease); }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 43, 70, .95)); z-index: 0; }
.ptile:hover img { transform: scale(1.05); }
.ptile-body { position: absolute; inset: auto 0 0; padding: 22px; z-index: 1; }
.ptile-body .chip { background: rgba(39, 196, 216, .18); color: #9BEBF5; }
.ptile h3 { font-size: 1.2rem; margin: .6rem 0 .3rem; }
.ptile p { font-size: .88rem; color: rgba(255, 255, 255, .72); margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.ptile:hover p, .ptile:focus-visible p { max-height: 6em; opacity: 1; margin-bottom: .6rem; }
.ptile-more { display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; font-weight: 600; color: var(--aqua); }
.ptile.is-hidden { display: none; }

/* ---------- Articles ---------- */
.art-home { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.art-stack { display: grid; gap: 16px; align-content: start; }
.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .35s, transform .35s var(--ease); }
.acard:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.acard-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.acard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.acard:hover .acard-media img { transform: scale(1.05); }
.acard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.acard h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.acard.big h3 { font-size: 1.5rem; }
.acard h3 a:hover { color: var(--ocean); }
.acard p { color: var(--ink-2); font-size: .94rem; }
.meta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.meta span:not(.chip) { display: inline-flex; gap: .3rem; align-items: center; }
.meta .ic { width: 14px; height: 14px; }
.more { margin-top: auto; display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--ocean); font-size: .92rem; }
.more .ic { transition: transform .3s var(--ease); }
.acard:hover .more .ic, .svc-card:hover .more .ic { transform: translateX(4px); }
.acard.compact { flex-direction: row; }
.acard.compact .acard-media { width: 38%; flex: none; aspect-ratio: auto; }
.acard.compact .acard-body { padding: 16px 18px; }
.acard.compact h3 { font-size: 1rem; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard.is-hidden { display: none; }
.feat-article { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--navy); color: #fff; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 48px; }
.fa-media img { width: 100%; height: 100%; object-fit: cover; }
.fa-body { padding: clamp(24px, 4vw, 48px); align-self: center; }
.fa-body .eyebrow { color: var(--aqua); }
.fa-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .8rem; }
.fa-body p { color: rgba(255, 255, 255, .75); }
.fa-body .meta { color: rgba(255, 255, 255, .6); }
.fa-body .btn-dark { --bg: var(--aqua); --fg: var(--navy); }
.list-tools { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.list-tools .chips-filter { margin: 0; }
.chips-filter button { padding: .5rem 1rem; border-radius: 2px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: .25s; min-height: 40px; }
.chips-filter button:hover { border-color: var(--navy); color: var(--navy); }
.chips-filter button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Article detail ---------- */
.art-head { padding: calc(var(--hh) + 48px) 0 32px; background: var(--mist); }
.art-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.art-hero { margin: -0px 0 40px; border-radius: var(--r-lg); overflow: hidden; transform: translateY(0); }
.art-hero img { width: 100%; }
.art-layout { display: grid; grid-template-columns: 1fr 64px; gap: 32px; padding-bottom: 80px; }
.prose { font-size: 1.08rem; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; color: var(--ink); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: .5em; }
.prose li { position: relative; padding-left: 1.5em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7em; height: 2px; background: var(--aqua); }
.art-cta { margin-top: 48px; padding: 32px; background: var(--light); border-radius: var(--r-lg); }
.art-cta h2 { margin-top: 0; }
.share { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 10px; align-content: start; justify-items: center; }
.share p { font-size: .72rem; color: var(--muted); writing-mode: vertical-rl; margin: 0 0 6px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .25s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--grad); color: #fff; padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band .eyebrow { color: var(--aqua); }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.cta-band .lead { color: rgba(255, 255, 255, .78); margin-bottom: 2rem; }
.cta-sales { display: grid; gap: 10px; }
.cta-sales li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s; }
.cta-sales li:hover { background: rgba(255, 255, 255, .1); }
.cta-sales small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.cta-sales a { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-en); font-weight: 700; padding: .5rem .7rem; border-radius: var(--r); background: rgba(39, 196, 216, .14); color: #9BEBF5; white-space: nowrap; }
.cta-sales a:hover { background: var(--aqua); color: var(--navy); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-en); font-weight: 800; background: var(--grad-aqua); color: #fff; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #061F33; color: rgba(255, 255, 255, .72); padding: 80px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .94rem; }
.footer-wave { position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-aqua); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; }
.f-brand img { width: 200px; margin-bottom: 20px; }
.f-brand p { max-width: 40ch; }
.f-social { display: flex; gap: 8px; margin-top: 20px; }
.f-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .14); transition: .25s; }
.f-social a:hover { background: var(--aqua); color: var(--navy); border-color: var(--aqua); transform: translateY(-2px); }
.site-footer h2 { font-size: .8rem; font-family: var(--f-en); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer h2.mt { margin-top: 28px; }
.f-col ul { display: grid; gap: 8px; }
.f-col a:hover { color: var(--aqua); }
.f-branches { margin-bottom: 20px; }
.f-branches li { display: grid; }
.f-branches span { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.f-branches a { color: #fff; font-weight: 600; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.f-bottom p { margin: 0; }

/* ---------- Mobile contact bar ---------- */
.mobile-bar { display: none; }

/* ---------- Compare bar ---------- */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy); color: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); transform: translateY(0); transition: transform .4s var(--ease); }
.compare-bar[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
.cb-row { display: flex; align-items: center; gap: 20px; min-height: 76px; padding-block: 10px; }
.cb-title { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.cb-title .ic { color: var(--aqua); }
.cb-items { display: flex; gap: 10px; flex: 1; overflow-x: auto; }
.cb-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: var(--r); background: rgba(255, 255, 255, .08); font-size: .82rem; max-width: 240px; flex: none; animation: pop .35s var(--ease); }
.cb-item img { width: 48px; height: 36px; object-fit: cover; border-radius: 2px; }
.cb-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-item button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.cb-item button:hover { background: rgba(255, 255, 255, .15); }
.cb-item .ic { width: 14px; height: 14px; }
.cb-actions { display: flex; gap: 8px; align-items: center; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.search-overlay.open { visibility: visible; }
.so-backdrop { position: absolute; inset: 0; background: rgba(4, 20, 34, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.search-overlay.open .so-backdrop { opacity: 1; }
.so-panel { position: relative; width: min(720px, 100% - 32px); margin: 10vh auto 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; transform: translateY(-16px); opacity: 0; transition: .35s var(--ease); }
.search-overlay.open .so-panel { transform: none; opacity: 1; }
.so-form { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.so-form > .ic { color: var(--muted); }
.so-form input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; padding: 12px 0; min-width: 0; background: none; }
.so-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.so-group { padding: 12px 12px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--f-en); }
.so-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); }
.so-item:hover, .so-item.active { background: var(--light); }
.so-item strong { font-weight: 600; }
.so-item small { grid-column: 1; color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-item .ic { grid-row: span 2; grid-column: 2; color: var(--ocean); }
.so-item mark { background: rgba(39, 196, 216, .3); color: inherit; border-radius: 2px; }
.so-empty { padding: 24px; text-align: center; color: var(--muted); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 400; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r); font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: .3s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Catalog ---------- */
.catalog { padding: 40px 0 96px; }
.cat-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 32px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { padding: 14px 18px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .2s; }
.cat-tabs a:hover { color: var(--navy); }
.cat-tabs a.on { color: var(--navy); border-color: var(--aqua); }
.catalog-grid { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--hh) + 20px); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { display: flex; gap: .5rem; align-items: center; font-size: 1.05rem; }
.f-close, .f-apply, .f-open { display: none !important; }
.fgroup { border: 0; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
.fgroup legend { font-weight: 700; font-size: .92rem; margin-bottom: 10px; padding: 0; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .92rem; color: var(--ink-2); min-height: 36px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 20px; height: 20px; border: 1.5px solid #B7C7D4; border-radius: 3px; display: grid; place-items: center; flex: none; transition: .2s; }
.check .box .ic { width: 14px; height: 14px; stroke-width: 3; color: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.check input:checked + .box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .box .ic { transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--aqua); outline-offset: 2px; }
.check em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); font-family: var(--f-en); }
.check.zero { opacity: .45; }
.filters-foot { padding-top: 18px; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tsearch { position: relative; flex: 1; min-width: 220px; display: flex; align-items: center; }
.tsearch .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.tsearch input { width: 100%; min-height: 46px; padding: .6rem 1rem .6rem 44px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.tsearch input:focus { outline: 0; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(39, 196, 216, .15); }
.tsort select { min-height: 46px; padding: .5rem 2.2rem .5rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B1F33' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; appearance: none; cursor: pointer; }
.view-toggle { display: flex; border: 1.5px solid var(--line); border-radius: var(--r); padding: 2px; }
.view-toggle button { width: 40px; height: 38px; display: grid; place-items: center; border-radius: 2px; color: var(--muted); }
.view-toggle button.on { background: var(--navy); color: #fff; }
.result-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; min-height: 40px; }
.result-meta p { margin: 0; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .4rem .3rem .7rem; border-radius: 2px; background: var(--light); color: var(--ocean); font-size: .82rem; font-weight: 600; animation: pop .25s var(--ease); }
.chips button .ic { width: 14px; height: 14px; }
.chips button:hover { background: #D5EEF7; }
.fcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--aqua); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 0 5px; }
.results .p-grid { grid-template-columns: repeat(2, 1fr); }
.pcard.is-hidden { display: none; }
.pcard.fade-in { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-2); }
.empty > .ic { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--muted); }
.empty[hidden] { display: none; }

/* ---------- Product detail ---------- */
.pd { padding: calc(var(--hh) + 32px) 0 72px; }
.pd-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--hh) + 20px); }
.g-main { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.g-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s var(--ease); }
.g-slide.on { opacity: 1; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); transition: .2s; }
.g-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.g-nav.prev { left: 14px; } .g-nav.next { right: 14px; }
.g-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.g-thumbs button { border-radius: var(--r); overflow: hidden; border: 2px solid transparent; opacity: .6; transition: .2s; }
.g-thumbs button.on, .g-thumbs button:hover { opacity: 1; border-color: var(--aqua); }
.pd-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .8rem; }
.pd-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 24px 0; }
.pd-keys > div { background: #fff; padding: 16px 18px; display: grid; gap: 2px; }
.pd-keys .ic { color: var(--aqua-2); margin-bottom: 6px; }
.pd-keys span { font-size: .8rem; color: var(--muted); }
.pd-keys strong { font-size: 1.25rem; font-family: var(--f-en); }
html[lang="th"] .pd-keys strong { font-family: var(--f-th); }
.pd-info .btn-row { margin-bottom: 8px; }
.pd-info .notice { margin-top: 20px; }
.pd-details { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 72px; }
.pd-details h2 { font-size: 1.4rem; margin-bottom: 18px; }
.pd-side { display: grid; gap: 40px; align-content: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 44%; font-weight: 600; color: var(--ink-2); background: var(--mist); }
.spec-table td { font-weight: 600; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--light); color: var(--ocean); stroke-width: 3; margin-top: 2px; }
.ticks.cols { grid-template-columns: 1fr 1fr; }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.app-chips li { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 2px; font-size: .92rem; font-weight: 500; }

/* ---------- Compare page ---------- */
.compare-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.compare-tools p { margin: 0; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
.compare-table-wrap:empty { display: none; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ctable th, .ctable td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .94rem; }
.ctable tbody th { position: sticky; left: 0; background: var(--mist); width: 180px; min-width: 140px; font-weight: 600; color: var(--ink-2); z-index: 1; }
.ctable thead td { vertical-align: top; }
.ctable td { min-width: 200px; }
.ctable .c-head img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); margin-bottom: 10px; }
.ctable .c-head strong { display: block; margin-bottom: 8px; line-height: 1.35; }
.ctable .c-head .btn-row { gap: 4px; }
.ctable tr.diff td { background: rgba(39, 196, 216, .06); }
.ctable td.best { color: var(--ocean); font-weight: 700; }

/* ---------- Services ---------- */
.svc-list { display: grid; gap: clamp(56px, 8vw, 104px); }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc-block.rev .svc-media { order: 2; }
.svc-media { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.svc-media img { width: 100%; }
.svc-n { position: absolute; top: 18px; left: 20px; font-family: var(--f-en); font-weight: 800; font-size: 3rem; line-height: 1; color: rgba(255, 255, 255, .85); }
.svc-text .svc-ic { background: var(--light); color: var(--ocean); margin-bottom: 18px; }
.svc-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .8rem; }
.svc-text .ticks { margin: 24px 0 28px; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { display: flex; flex-direction: column; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: .35s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.svc-card .svc-ic { background: var(--light); color: var(--ocean); margin-bottom: 18px; transition: .35s; }
.svc-card:hover .svc-ic { background: var(--navy); color: var(--aqua); }
.svc-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.svc-card p { color: var(--ink-2); font-size: .93rem; }
.svc-detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-main h2 { font-size: 1.5rem; margin: 56px 0 20px; }
.lead.big { font-size: 1.3rem; color: var(--ink); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.opt { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; transition: border-color .3s; }
.opt:hover { border-color: var(--aqua); }
.opt-n { font-family: var(--f-en); font-weight: 800; color: var(--aqua-2); font-size: .85rem; letter-spacing: .1em; }
.opt h3 { font-size: 1.1rem; margin: .4rem 0; }
.opt p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--aqua); }
.steps span { font-family: var(--f-en); font-weight: 800; font-size: 1.8rem; color: var(--navy); line-height: 1; }
.steps h3 { font-size: 1rem; margin: .6rem 0 .3rem; }
.steps p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.aside-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: grid; gap: 12px; }
.aside-card.sticky { position: sticky; top: calc(var(--hh) + 20px); }
.aside-card h2 { font-size: 1.2rem; }
.aside-card p { margin: 0 0 6px; color: var(--ink-2); font-size: .94rem; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; width: 100%; }
.aside-title { font-weight: 700; color: var(--ink) !important; }
.aside-link { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-weight: 500; color: var(--ink-2); }
.aside-link .ic { color: var(--ocean); }
.aside-link:hover { color: var(--navy); }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.about-intro h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.about-intro p { font-size: 1.08rem; color: var(--ink-2); }
.expertise { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; position: sticky; top: calc(var(--hh) + 24px); }
.expertise .eyebrow { color: var(--aqua); }
.exp-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.exp-row span { font-family: var(--f-en); font-size: .72rem; letter-spacing: .14em; font-weight: 800; color: var(--aqua); }
.exp-row strong { font-size: 1.15rem; grid-column: 1; }
.exp-row .ic { grid-row: span 2; grid-column: 2; align-self: center; transition: transform .3s var(--ease); }
.exp-row:hover .ic { transform: translate(3px, -3px); color: var(--aqua); }
.branch-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.branch-mini > div { padding: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); }
.branch-mini h3 { font-size: .98rem; margin-bottom: 6px; }
.branch-mini a { display: inline-flex; gap: .4rem; align-items: center; color: var(--aqua); font-family: var(--f-en); font-weight: 700; }
.bg-navy .del-points li { border-color: rgba(255, 255, 255, .12); }

/* ---------- Contact ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 6px; transition: .35s var(--ease); }
.branch:hover { box-shadow: var(--sh-2); border-color: transparent; }
.branch.main { background: var(--navy); color: #fff; border-color: var(--navy); }
.branch.main .muted { color: rgba(255, 255, 255, .6); }
.branch.main .btn-link { --fg: var(--aqua); }
.b-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); background: var(--light); color: var(--ocean); margin-bottom: 10px; }
.branch.main .b-ic { background: rgba(39, 196, 216, .15); color: var(--aqua); }
.branch h3 { font-size: 1.15rem; }
.branch p { margin: 0 0 8px; }
.b-phone { display: inline-flex; gap: .5rem; align-items: center; font-family: var(--f-en); font-size: 1.4rem; font-weight: 800; }
.b-phone:hover { color: var(--aqua-2); }
.b-mail { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; word-break: break-all; }
.branch .btn-link { margin-top: auto; align-self: flex-start; }
.sales-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.sales-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; transition: .35s var(--ease); }
.sales-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.sc-top { display: flex; gap: 14px; align-items: center; }
.sc-top h3 { font-size: 1.15rem; } .sc-top p { margin: 0; font-size: .85rem; }
.sales-card dl { margin: 0; display: grid; gap: 10px; }
.sales-card dl div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.sales-card dt { display: flex; gap: .4rem; align-items: center; color: var(--muted); font-size: .85rem; }
.sales-card dt .ic { width: 16px; height: 16px; }
.sales-card dd { margin: 0; font-weight: 700; font-family: var(--f-en); word-break: break-all; text-align: right; }
.sc-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; }
.contact-map { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.map-links { display: grid; gap: 12px; }
.map-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); transition: .25s; }
.map-links a:hover { background: rgba(255, 255, 255, .06); border-color: var(--aqua); }
.map-links .ic:first-child { color: var(--aqua); }
.map-links small { display: block; color: rgba(255, 255, 255, .6); }
.contact-map .del-map { max-width: 380px; justify-self: center; width: 100%; }
.social-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soc { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: .3s var(--ease); min-width: 0; }
.soc > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--light); color: var(--ocean); transition: .3s; }
.soc:hover { border-color: var(--navy); }
.soc:hover > .ic { background: var(--navy); color: var(--aqua); }
.soc span { min-width: 0; } .soc small { display: block; color: var(--muted); font-size: .8rem; }
.soc strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Quotation ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.qform fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.qform legend { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; padding: 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fgrid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.req { color: #D2453A; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B1F33' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; padding-right: 2.4rem; }
.field textarea { resize: vertical; min-height: 130px; }
.field :is(input, select, textarea):focus { outline: 0; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(39, 196, 216, .15); }
.field.invalid :is(input, select, textarea) { border-color: #D2453A; }
.field.valid :is(input, select, textarea) { border-color: #2BB673; }
.err { color: #D2453A; font-size: .82rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hint { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-flex; align-items: center; min-height: 50px; padding: .5rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 600; cursor: pointer; transition: .2s; }
.radio input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.field.invalid .radio span { border-color: #E9A39D; }
.form-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-actions p { margin: 0; }
.big-phone { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--navy); color: #fff; border-radius: var(--r); }
.big-phone > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(39, 196, 216, .18); color: var(--aqua); }
.big-phone small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.big-phone strong { font-family: var(--f-en); font-size: 1.3rem; }
.aside-sales li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-sales small { display: block; color: var(--muted); font-size: .8rem; }
.aside-sales a { font-family: var(--f-en); font-weight: 700; color: var(--ocean); white-space: nowrap; }
.modal { position: fixed; inset: 0; z-index: 350; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 20, 34, .6); opacity: 0; transition: opacity .3s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(600px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-lg); padding: 36px 32px 28px; transform: translateY(20px) scale(.98); opacity: 0; transition: .35s var(--ease); }
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 12px; right: 12px; }
.ok-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(43, 182, 115, .12); color: #2BB673; margin-bottom: 16px; }
.ok-ic .ic { width: 28px; height: 28px; stroke-width: 2.5; }
.modal-panel h2 { font-size: 1.4rem; margin-bottom: .6rem; }
.q-summary { white-space: pre-wrap; font-family: var(--f-th); font-size: .88rem; background: var(--mist); border: 1px solid var(--line); padding: 16px; border-radius: var(--r); max-height: 240px; overflow: auto; margin: 0 0 20px; }
.modal-panel .btn-row { margin-bottom: 16px; }

/* ---------- Project detail ---------- */
.pj { padding: calc(var(--hh) + 32px) 0 80px; }
.pj-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.pj-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .8rem 0; }
.pj-meta { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 0; }
.pj-meta div { background: #fff; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; }
.pj-meta dt { color: var(--muted); font-size: .88rem; } .pj-meta dd { margin: 0; font-weight: 600; text-align: right; }
.pj-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 56px; }
.pj-gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.pj-gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.pj-gallery .main { grid-row: span 2; }
.pj-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.pj-body h2 { font-size: 1.4rem; margin-bottom: 16px; }
.eq-list { display: grid; gap: 12px; }
.eq-list a { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: .25s; }
.eq-list a:hover { border-color: var(--aqua); }
.eq-list img { border-radius: var(--r); }
.eq-list small { display: block; font-family: var(--f-en); font-size: .7rem; letter-spacing: .14em; font-weight: 800; color: var(--aqua-2); }
.nf { padding: calc(var(--hh) + 120px) 0 140px; text-align: center; }
.nf h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.nf .lead, .nf .btn-row { margin-inline: auto; justify-content: center; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ======================= Responsive ======================= */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .sales-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 48px 52px 1fr 1.4fr 52px; }
  .svc-thumb { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; justify-self: center; width: 100%; margin-top: 16px; }
  .hero-cats { grid-template-columns: repeat(2, 1fr); }
  .hero-cats a { padding: 18px 40px 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .hero-cats a:nth-child(2n) { border-right: 0; }
  .hero-cats a:nth-child(3) { padding-left: 0; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: 1fr; }
  .f-open { display: inline-flex !important; }
  .filters { position: fixed; inset: 0 0 0 auto; z-index: 250; width: min(380px, 100%); background: #fff; padding: 16px 20px 0; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--sh-2); top: 0; }
  .filters.open { transform: none; }
  .filters-body { flex: 1; overflow-y: auto; }
  .f-close { display: inline-grid !important; }
  .f-apply { display: inline-flex !important; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters-scrim { position: fixed; inset: 0; z-index: 240; background: rgba(4, 20, 34, .5); }
  .why-grid, .del-grid, .contact-map, .about-intro, .svc-detail, .quote-grid, .pd-grid, .pd-details, .pj-head, .pj-body, .cta-grid, .ph-grid { grid-template-columns: 1fr; }
  .why-visual, .gallery, .expertise, .aside-card.sticky { position: static; }
  .why-visual img { aspect-ratio: 16/10; }
  .ph-art { display: none; }
  .del-map { max-width: 420px; width: 100%; justify-self: center; }
  .art-home, .feat-article { grid-template-columns: 1fr; }
  .a-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: 1fr 1fr; }
  .social-row { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-1 { grid-row: auto; }
  .cat-1 .cat-media { flex: none; aspect-ratio: 4/3; min-height: 0; }
  .cat-2 { grid-column: auto; display: flex; }
  .cat-2 .cat-media { aspect-ratio: 4/3; min-height: 0; }
  .cat-2 .cat-body { border-left: 0; border-top: 2px solid var(--aqua); }
  .cat-2 .cat-idx { top: -40px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 860px) {
  :root { --hh: 64px; }
  .header-cta { display: none; }
  .brand img { height: 34px; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .hl { border-bottom: 1px solid var(--line); padding: 28px 22px 32px; }
  .hl:nth-child(odd) { border-left: 1px solid var(--line); }
  .hl:nth-child(3) { border-left: 1px solid var(--line); }
  .svc-row { grid-template-columns: 52px 1fr 44px; gap: 6px 16px; padding: 22px 0; }
  .svc-num { display: none; }
  .svc-row .svc-ic { grid-row: span 2; }
  .svc-row h3 { grid-column: 2; font-size: 1.15rem; }
  .svc-row p { grid-column: 2; font-size: .92rem; }
  .svc-arrow { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
  .svc-block, .svc-block.rev { grid-template-columns: 1fr; }
  .svc-block.rev .svc-media { order: 0; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .why-list { grid-template-columns: 1fr; }
  .why-list li:nth-child(odd) { border-right: 0; }
  .why-list li:nth-child(even) { padding-left: 0; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .mobile-bar { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.4fr; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(8, 43, 70, .08); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
  .mobile-bar .ic { width: 20px; height: 20px; color: var(--ocean); }
  .mobile-bar .mb-primary { background: var(--aqua); color: var(--navy); }
  .mobile-bar .mb-primary .ic { color: var(--navy); }
  .compare-bar { bottom: calc(60px + env(safe-area-inset-bottom)); }
  .cb-row { gap: 10px; flex-wrap: wrap; min-height: 0; }
  .cb-items { order: 3; flex-basis: 100%; }
  .cb-actions { margin-left: auto; }
  .cb-item span { display: none; }
  .toast { bottom: 150px; }
  .p-grid.list .pcard { flex-direction: column; }
  .p-grid.list .pcard-media { width: 100%; aspect-ratio: 4/3; }
  .p-grid.list .pcard-specs { grid-template-columns: 1fr 1fr; }
  .ticks.cols { grid-template-columns: 1fr; }
  .art-layout { grid-template-columns: 1fr; }
  .share { position: static; display: flex; justify-content: flex-start; }
  .share p { writing-mode: initial; margin: 0 8px 0 0; }
  .pj-gallery { grid-template-columns: 1fr 1fr; }
  .pj-gallery .main { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow { width: calc(100% - 40px); }
  body { font-size: 15.5px; }
  .hero { padding-top: calc(var(--hh) + 28px); min-height: auto; }
  .hero .lead { font-size: 1.02rem; }
  .hero .btn-row .btn { width: 100%; }
  .float-chip { font-size: .76rem; padding: .45rem .65rem; }
  .float-chip.c1 { top: 4%; left: 0; }
  .hero-measure { display: none; }
  .hero-cats a { padding-right: 32px; }
  .hero-cats span { font-size: .9rem; }
  .p-grid, .results .p-grid, .a-grid, .branch-grid, .sales-grid, .svc-cards, .social-row, .fgrid, .branch-mini { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-1 h3 { font-size: 1.5rem; }
  .hl-grid { grid-template-columns: 1fr; }
  .hl { border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .acard.compact { flex-direction: column; }
  .acard.compact .acard-media { width: 100%; aspect-ratio: 16/10; }
  .toolbar .tsearch { flex-basis: 100%; }
  .toolbar .tsort { flex: 1; } .toolbar .tsort select { width: 100%; }
  .cta-sales li { grid-template-columns: auto 1fr; }
  .cta-sales li a { grid-column: 1 / -1; justify-content: center; }
  .cta-band .btn-row .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .pd-keys strong { font-size: 1.05rem; }
  .pd-info .btn-row .btn { width: 100%; }
  .spec-table th, .spec-table td { padding: 12px; font-size: .9rem; }
  .modal-panel { padding: 32px 20px 20px; }
  .modal-panel .btn-row .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
  .compare-tools .btn-row { width: 100%; }
  .compare-tools .btn-row .btn { flex: 1; }
  .cb-title strong { display: none; }
  .lang-switch a { padding: .3rem .45rem; min-width: 30px; }
  .header-row { gap: .5rem; }
  .ptile p { max-height: 6em; opacity: 1; margin-bottom: .6rem; }
}
@media (max-width: 380px) {
  .brand img { height: 30px; }
  .header-actions .icon-btn { width: 40px; }
  .pcard-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .loader { display: none; }
}
@media print { .site-header, .mobile-bar, .compare-bar, .cta-band, .site-footer, .loader { display: none !important; } }
