/* v25 hover effects (Coway-style) */
:root{--hv-t:.3s ease}
.btn,.more,.back,.kid,.hl,.cat,.ic,.pb,.cmp15,.why15,.abc a,.cat .im img,.abc img,.cmp15 img,.kid img,.hl img,.seclogo,.plogo,.master{transition:transform var(--hv-t),box-shadow var(--hv-t),filter var(--hv-t),opacity var(--hv-t),border-color var(--hv-t),background-color var(--hv-t)}
nav a:not(.btn){position:relative}
nav a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--sky,#2a9fd6);transform:scaleX(0);transform-origin:left;transition:transform var(--hv-t)}
nav a:not(.btn):hover::after,nav a:not(.btn):focus-visible::after{transform:scaleX(1)}
.btn:hover,.btn:focus-visible{filter:brightness(.92)}
.cat .im{position:relative;overflow:hidden}
.cat .im::after{content:"ดูรายละเอียด →";position:absolute;inset:auto 0 0 0;padding:12px 0;text-align:center;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(transparent,rgba(10,40,90,.65));opacity:0;transition:opacity var(--hv-t);pointer-events:none}
.cat:hover .im::after,.cat:focus-within .im::after{opacity:1}
.cat:hover .im img{transform:scale(1.05)}
.more:hover{filter:brightness(.85)}
.ic,.pb,.why15{border-radius:18px}
.ic:hover,.pb:hover,.why15:hover{box-shadow:0 0 0 1px rgba(42,159,214,.35),0 10px 26px rgba(20,40,100,.10)}
.abc a:hover img,.cmp15:hover img{transform:scale(1.05)}
.cmp15{overflow:hidden;border-radius:14px}
.kid:hover img,.hl:hover img,.seclogo:hover,.plogo:hover,.master:hover{transform:scale(1.05)}
.cat{transform:none}
.cat:hover{transform:none}
@media (hover:hover){
 .cat:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(20,40,100,.14)}
 .btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,40,100,.18)}
 .ic:hover,.kid:hover{transform:translateY(-3px)}
}
@media (prefers-reduced-motion:reduce){
 *,*::before,*::after{transition:none!important;animation:none!important}
 .cat:hover,.btn:hover,.ic:hover,.kid:hover,.cat:hover .im img,.abc a:hover img,.cmp15:hover img,.kid:hover img,.hl:hover img,.seclogo:hover,.plogo:hover,.master:hover{transform:none!important}
}
/* ===== v25.2 expanded hover effects ===== */
.ic,.pb,.why15,.rv,.cmp15,.motor,.cta,.main,.info li,.pol li,footer li,footer a,.pol a,.info a:not(.btn),.ghost2,.back,header .logo img,footer .lg img,.ic i,.dot,.wrap.split>img,.rv img,.main img,.cmp15 figcaption,.abc figcaption,tr{transition:transform var(--hv-t),box-shadow var(--hv-t),background-color var(--hv-t),color var(--hv-t),border-color var(--hv-t),filter var(--hv-t)}
/* image zoom wrappers */
.rv,.main,.cmp15 a,.abc a{overflow:hidden}
.rv picture,.main picture,.cmp15 picture{display:block;overflow:hidden;border-radius:inherit}
.rv:hover img,.main:hover img,.cmp15:hover img,.abc a:hover img{transform:scale(1.06)}
.wrap.split>img:hover{transform:scale(1.05)}
/* card / box highlight */
.rv,.motor,.cta,.ic{border-radius:18px}
.rv:hover,.motor:hover,.cta:hover,.abc a:hover,.cmp15:hover,.main:hover{box-shadow:0 14px 34px rgba(20,40,100,.14)}
.abc:hover figcaption,.cmp15:hover figcaption{color:var(--blue,#1a3d8f)}
/* list items & rows: light tint */
.info li,.pol li,footer li{border-radius:8px}
.info li:hover,.pol li:hover,tr:hover{background-color:rgba(42,159,214,.08)}
footer li:hover{background-color:rgba(255,255,255,.06)}
/* text links */
footer a:not(.btn),.pol a:not(.btn),.info a:not(.btn):not(.ghost2),.back{text-decoration:none;text-underline-offset:3px}
footer a:not(.btn):hover,.pol a:not(.btn):hover,.info a:not(.btn):not(.ghost2):hover,.back:hover{color:var(--sky,#2a9fd6);text-decoration:underline}
.ghost2:hover,.ghost2:focus-visible{color:var(--sky,#2a9fd6);border-color:var(--sky,#2a9fd6);background-color:rgba(42,159,214,.08)}
/* header / footer logos */
header .logo:hover img,footer .lg:hover img{transform:scale(1.04)}
/* small icons */
.ic i{display:inline-block}
.ic:hover i,.dot:hover,.motor:hover img{transform:scale(1.1)}
/* phone / LINE / facebook buttons */
a[href^="tel:"],a[href*="line.me"],a[href*="lin.ee"],a[href*="facebook.com"]{transition:transform var(--hv-t),box-shadow var(--hv-t),filter var(--hv-t)}
a[href^="tel:"]:hover,a[href*="line.me"]:hover,a[href*="lin.ee"]:hover,a[href*="facebook.com"]:hover{filter:brightness(.92)}
@media (hover:hover){
 .rv:hover,.motor:hover,.cta:hover,.abc a:hover,.cmp15:hover,.main:hover,.why15:hover,.pb:hover{transform:translateY(-5px)}
 .ic:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(20,40,100,.14)}
 .info li:hover,.pol li:hover{transform:translateX(3px)}
 .ghost2:hover,a.btn.ghost:hover,a[href^="tel:"].btn:hover{transform:translateY(-2px)}
}
@media (prefers-reduced-motion:reduce){
 .rv:hover,.motor:hover,.cta:hover,.abc a:hover,.cmp15:hover,.main:hover,.why15:hover,.pb:hover,.ic:hover,.info li:hover,.pol li:hover,.ghost2:hover,.rv:hover img,.main:hover img,.cmp15:hover img,.wrap.split>img:hover,header .logo:hover img,footer .lg:hover img,.ic:hover i,.dot:hover,.motor:hover img{transform:none!important}
}

/* ===== v33 LINE / Facebook ===== */
.soc33{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:32px}
.sb33{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:500;font-size:14px}
.ci33{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;transition:transform var(--hv-t),box-shadow var(--hv-t),filter var(--hv-t)}
.sb33.ln .ci33{background:#06C755}.sb33.fb .ci33{background:#1877F2}
.sb33:hover{color:#fff}.sb33:hover .ci33{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 8px 18px rgba(0,0,0,.35)}
.btn.cl33{display:inline-flex!important;align-items:center;gap:8px;vertical-align:middle;color:#fff;margin:6px 4px}
.btn.cl33.ln{background:#06C755}.btn.cl33.fb{background:#1877F2}
.lf33{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#06C755;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.25);z-index:9999;transition:transform var(--hv-t),box-shadow var(--hv-t)}
.lf33:hover,.lf33:focus-visible{transform:scale(1.08);box-shadow:0 12px 28px rgba(6,199,85,.45)}
@media(max-width:760px){.lf33{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:52px;height:52px}footer{padding-bottom:84px}.btn.cl33{font-size:14px}}

/* ===== v33.1 LINE QR ===== */
.soc33{align-items:center}
.qr33{display:inline-flex;align-items:center;gap:12px;color:#c9ced6;font-size:13px;line-height:1.5;max-width:300px}
.qr33 img{width:110px;height:110px;background:#fff;border-radius:14px;padding:8px;box-sizing:content-box;display:block;transition:transform var(--hv-t),box-shadow var(--hv-t)}
.qr33:hover img{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.35)}
.crow33{display:flex;align-items:center;justify-content:center;gap:36px;flex-wrap:wrap}
.cbt33{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:640px}
.cqr33{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px}
.cqr33 img{width:160px;height:160px;background:#fff;border-radius:18px;padding:10px;box-sizing:content-box;display:block;box-shadow:0 10px 28px rgba(0,0,0,.18)}
@media(max-width:760px){.crow33{flex-direction:column;gap:22px}.qr33{flex-direction:column;align-items:flex-start}.cqr33 img{width:140px;height:140px}}
.cbt33{align-items:center;max-width:none}.cbt33 .btn{margin:6px 4px}
@media(min-width:761px){.crow33{flex-wrap:nowrap}}
/* ===== v34 presenter (About) ===== */
.abx34{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;max-width:1080px;margin:0 auto 40px}
.abx34 .abt{text-align:left;margin:0;max-width:none}
.pres34{position:relative;margin:0;display:flex;justify-content:center;align-items:flex-end;min-height:420px;animation:pin34 .9s ease-out both}
.pbg34{position:absolute;left:50%;bottom:0;width:380px;height:380px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#7cc4f5 0%,var(--sky,#2b8fe0) 45%,var(--blue,#1f3f9b) 100%);box-shadow:0 24px 60px rgba(31,63,155,.25)}
.pres34 picture{position:relative;display:block;z-index:1}
.pres34 img{display:block;height:460px;width:auto;margin-bottom:-1px;filter:drop-shadow(0 14px 22px rgba(10,30,80,.22));animation:pfl34 6s ease-in-out 1s infinite}
.pcap34{position:absolute;z-index:2;left:0;bottom:28px;background:#fff;border-radius:16px;padding:12px 18px;box-shadow:0 12px 30px rgba(20,40,90,.16);border:1px solid var(--line,#e6e9ef);display:flex;flex-direction:column;gap:2px;text-align:left}
.pcap34 strong{color:var(--blue,#1f3f9b);font-size:15px;font-weight:600}
.pcap34 span{color:var(--sky,#2b8fe0);font-size:13px;font-weight:500}
@keyframes pin34{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes pfl34{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:900px){.abx34{grid-template-columns:1fr;gap:28px}.abx34 .abt{text-align:center}.pres34{min-height:0}.pbg34{width:280px;height:280px}.pres34 img{height:340px}.pcap34{left:50%;transform:translateX(-50%);bottom:-14px;white-space:nowrap;text-align:center;align-items:center}}
@media (prefers-reduced-motion:reduce){.pres34,.pres34 img{animation:none!important}}
/* ===== v34 ERV technology ===== */
.tech34{padding:72px 0}
.h34{text-align:center;margin-bottom:28px}.h34 small{letter-spacing:.2em;color:var(--sky,#2b8fe0);font-weight:600}.h34 h2{color:var(--blue,#1f3f9b);font-size:30px;margin:8px 0 0}
.rob34{max-width:900px;margin:0 auto}
.rob34 a{display:block;border-radius:18px;overflow:hidden;background:#fff;border:1px solid var(--line,#e6e9ef);box-shadow:0 10px 28px rgba(20,40,90,.09)}
.rob34 img{display:block;width:100%;height:auto;transition:transform var(--hv-t)}
.rob34 a:hover img{transform:scale(1.03)}
.rob34 figcaption{margin-top:14px;text-align:center;color:var(--grey,#5b6470);font-size:15px;line-height:1.6}
@media(max-width:760px){.tech34{padding:52px 0}.h34 h2{font-size:24px}}
/* ===== v37 founder standing figure ===== */
.fs37{position:relative;margin:0;pointer-events:none}
.fs37 picture,.fs37 img{display:block}
.fs37 img{width:auto;filter:drop-shadow(0 10px 18px rgba(10,25,70,.28))}
.bub37{position:absolute;background:#fff;color:var(--blue,#1f3f9b);font-weight:600;font-size:14px;line-height:1.35;padding:10px 14px;border-radius:16px;box-shadow:0 10px 24px rgba(10,25,70,.22);white-space:nowrap;text-align:center;animation:bub37 .7s ease-out .4s both}
.bub37::after{content:"";position:absolute;width:14px;height:14px;background:#fff;transform:rotate(45deg)}
@keyframes bub37{from{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:none}}
/* homepage contact */
.cta.cta37{position:relative;padding-left:300px;padding-right:48px;overflow:visible}
.fsh37{position:absolute;left:56px;bottom:0;height:calc(100% + 60px)}
.fsh37 img{height:100%;max-height:520px}
.fsh37 .bub37{left:62%;top:18px}
.fsh37 .bub37::after{left:16px;bottom:-6px}
/* erv */
.ctw37{display:flex;align-items:flex-end;justify-content:center;gap:12px;margin-top:10px}
.ctw37 .acts{margin-top:0;padding-bottom:18px;justify-content:flex-start}
.fse37{flex:0 0 auto}
.fse37 img{height:260px}
.fse37 .bub37{left:72%;top:-6px;font-size:13px}
.fse37 .bub37::after{left:14px;bottom:-6px}
@media(max-width:1100px){.cta.cta37{padding-left:250px}.fsh37{left:28px}.fsh37 img{max-height:440px}}
@media(max-width:900px){
 .cta.cta37{padding:28px 20px 40px}
 .fsh37{position:relative;left:auto;bottom:auto;height:auto;width:max-content;margin:-8px auto 8px}
 .fsh37 img{height:190px;max-height:none}
 .fsh37 .bub37{left:auto;right:-150px;top:16px;font-size:13px}
 .fsh37 .bub37::after{left:-5px;bottom:auto;top:16px}
 .ctw37{flex-direction:column;align-items:center}
 .ctw37 .acts{justify-content:center;padding-bottom:0}
 .fse37{margin-left:-120px}.fse37 img{height:190px}
 .fse37 .bub37{left:100%;right:auto;top:16px}.fse37 .bub37::after{left:-5px;bottom:auto;top:16px}
}
@media (prefers-reduced-motion:reduce){.bub37{animation:none!important}}
@media(min-width:901px){.cta.cta37{padding-left:250px;padding-right:32px}.cta37 .crow33{gap:24px}.fsh37{left:40px}}
@media(max-width:900px){.fsh37 .bub37{right:-128px}}
/* ===== v38 #why: 5th AI card + icon centering ===== */
#why .icons{align-items:stretch}
#why .ic{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;height:100%;box-sizing:border-box}
#why .ic i{display:flex!important;align-items:center;justify-content:center;line-height:1;padding:0;text-align:center;flex:0 0 auto;margin:0 0 14px}
#why .ic h4,#why .ic p{text-align:center;width:100%;margin-left:0;margin-right:0}
#why .icons{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
#why .ic{padding:30px 18px}
#why .ic i svg{display:block}
@media(max-width:1100px){#why .icons{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#why .icons{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#why .ic{padding:24px 14px}}
/* ===== v38 ERV robot AI badge ===== */
.rob34 a{position:relative}
.aib38{position:absolute;top:18px;left:18px;z-index:2;display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:999px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);border:1px solid rgba(43,143,224,.28);box-shadow:0 8px 24px rgba(31,63,155,.16);color:var(--blue,#1f3f9b);pointer-events:none}
.aib38i{width:40px;height:40px;border-radius:50%;background:#e8f1fc;display:flex;align-items:center;justify-content:center;line-height:1;flex:0 0 auto}
.aib38i svg{display:block}
.aib38t{display:flex;flex-direction:column;line-height:1.25}
.aib38t strong{font-size:15px;font-weight:600}
.aib38t small{font-size:12px;font-weight:500;color:var(--sky,#2b8fe0)}
@media(max-width:760px){.aib38{top:10px;left:10px;gap:7px;padding:5px 11px 5px 5px}.aib38i{width:30px;height:30px}.aib38i svg{width:20px;height:20px}.aib38t strong{font-size:12px}.aib38t small{font-size:10px}}
/* v38b: 6 cards */
#why .icons{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
#why .ic{padding:28px 14px}
@media(max-width:1279px){#why .icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(max-width:760px){#why .icons{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#why .ic{padding:24px 14px}}
@media(min-width:761px){#why .icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1080px;margin-left:auto;margin-right:auto}#why .ic{padding:32px 24px}}
/* ===== v38 ERV AI section ===== */
.ai38{padding:72px 0 8px}
.ai38c{display:flex;align-items:center;gap:40px;max-width:960px;margin:0 auto;padding:40px 48px;border-radius:28px;background:linear-gradient(135deg,#f2f8ff 0%,#dcecfd 60%,#eaf4ff 100%);border:1px solid rgba(43,143,224,.22);box-shadow:0 14px 36px rgba(31,63,155,.10)}
.ai38i{flex:0 0 auto;width:132px;height:132px;border-radius:50%;background:#e8f1fc;color:var(--blue,#1f3f9b);display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 0 0 8px rgba(255,255,255,.7),0 10px 26px rgba(31,63,155,.14);animation:ai38g 3s ease-in-out infinite}
.ai38i svg{display:block}
.ai38t small{letter-spacing:.2em;color:var(--sky,#2b8fe0);font-weight:600;font-size:13px}
.ai38t h2{color:var(--blue,#1f3f9b);font-size:30px;margin:6px 0 10px;line-height:1.3}
.ai38t p{margin:0;color:#3a4660;font-size:16px;line-height:1.75}
@keyframes ai38g{0%,100%{box-shadow:0 0 0 8px rgba(255,255,255,.7),0 10px 26px rgba(31,63,155,.14)}50%{box-shadow:0 0 0 14px rgba(43,143,224,.16),0 0 34px rgba(43,143,224,.38)}}
@media(max-width:760px){.ai38{padding:52px 0 0}.ai38c{flex-direction:column;text-align:center;gap:20px;padding:30px 22px}.ai38i{width:104px;height:104px}.ai38i svg{width:52px;height:52px}.ai38t h2{font-size:24px}.ai38t p{font-size:15px}}
@media (prefers-reduced-motion:reduce){.ai38i{animation:none!important}}
/* v39 ARV images */
.arv-diagram-v39{margin:22px 0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.arv-diagram-v39 img{display:block;width:100%;height:auto}
.arv-poster-v39{padding:10px 0 60px}
.arv-poster-v39 img{display:block;width:100%;height:auto;border-radius:20px;box-shadow:0 12px 36px rgba(0,0,0,.08)}
