:root{
 --primary:#1668F2;--primary-d:#0B4FC4;--primary-l:#3B8CFF;
 --primary-t:#EFF5FF;--primary-t2:#DCEAFE;
 --chip-bg:#F1F6FE;--chip-bd:#C9DCFA;
 --ink:#0B2440;--ink-mut:#43597A;--ink-soft:#5A7391;--ink-faint:#8296AE;
 --surface:#FFFFFF;--canvas:#F4F7FB;--hairline:#E7EDF5;--border:#E3EAF3;
 --star:#FFB400;--online:#06C755;--alert:#FF3B30;
 --grad-hero:linear-gradient(175deg,#E7F1FF 0%,#F4F7FB 78%);--grad-promise:linear-gradient(160deg,#EAF2FF,#F7FAFF);
 --grad-brand:linear-gradient(150deg,#3B8CFF,#0B4FC4);--grad-cta:linear-gradient(100deg,#1668F2,#0B4FC4);
 --sh-cta:0 8px 20px rgba(22,104,242,.28);--sh-fab:0 8px 18px rgba(22,104,242,.4);--sh-card:0 12px 30px rgba(11,36,64,.1);
 --appw:520px;--inset:12px;--edge:20px;
 --fh:"Anuphan",system-ui,sans-serif;--fb:"IBM Plex Sans Thai",system-ui,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--fb);color:var(--ink);background:#E9EFF7;
 -webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{display:block;max-width:100%}

/* ============================================================
   ⛔⛔ กรอบรูปกลาง — กฎถาวร ห้ามแก้ให้ผิดไปจากนี้
   1. .ph ต้อง display:block  (เคยพลาด 3 ก.ย. 69: เป็น span = inline
      → กรอบยุบเหลือ 0x27px → **รูปทั้งเว็บหายหมด** เจ้าของทัก 3 รอบ)
   2. สัดส่วนคุมที่ "กรอบ" ด้วย aspect-ratio · ภาพข้างในใช้ object-fit เสมอ
      ⛔ ห้ามบังคับ width+height ตายตัวบนตัว <img> โดยไม่มี object-fit
      (เคยพลาด: รูปรถแนวนอนถูกยัดกรอบแนวตั้ง → รถยืดสูงผิดส่วน)
   ============================================================ */
.ph{display:block;position:relative;overflow:hidden;background:var(--canvas)}
.ph>img{position:absolute;inset:0;width:100%;height:100%;
 object-fit:cover;object-position:center;color:transparent}
.ph.contain>img{object-fit:contain}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

/* ⛔ กฎถาวร: ปุ่ม/ชิป/แบดจ์ ต้อง line-height แน่น (1.2) ⛔ ห้ามใช้ค่า body 1.6-1.8
   (เคยพลาด 3 ก.ย. 69: ปุ่ม LINE ตก 2 บรรทัดแล้วระยะห่างถ่างมาก) */
.cta,.cta .t1,.cta .t2,.qsend,.strip a,.catnav a,.catnav span,.lbcta a,.lbchips span,
.dcta a,.tab span,.more,.store,.phbadge,.svc .n,.svc .s,.pf .t,.pf .c{line-height:1.2}
.cta .t2,.svc .s,.pf .c{line-height:1.3}

/* ---------- app column ---------- */
/* ⛔ ห้ามใส่ overflow-x:hidden ที่ .app — จะทำให้ .app กลายเป็น scroll container
   แล้ว position:sticky ของ app bar และ tab bar ตายทันที (บั๊กที่เคยเจอ 3 ก.ย. 69)
   กัน hScroll ที่ body แทน */
.app{max-width:var(--appw);margin:0 auto;background:var(--canvas);min-height:100vh;
 min-height:100svh;display:flex;flex-direction:column;position:relative}
@media(min-width:600px){
 body{background:#E9EFF7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23d5e0ee'/%3E%3C/svg%3E")}
 .app{box-shadow:0 0 0 1px rgba(11,36,64,.06),0 18px 50px rgba(11,36,64,.13)}
}

/* ---------- app bar ---------- */
.appbar{position:sticky;top:0;z-index:35;background:var(--surface);
 padding:8px 18px 14px;display:flex;align-items:center;justify-content:space-between;
 gap:10px;border-bottom:1px solid transparent}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.bmark{width:36px;height:36px;border-radius:10px;background:var(--grad-brand);
 display:grid;place-items:center;flex:none}
.bmark svg{width:20px;height:20px}
.bword{font-family:var(--fh);font-weight:700;font-size:15px;line-height:1.1;
 letter-spacing:.02em;color:var(--ink)}
.bword .r2{display:flex;align-items:center;gap:5px}
.store{font-family:var(--fb);font-weight:600;font-size:9px;color:var(--primary);
 background:var(--primary-t);border:1px solid #BBD5FF;border-radius:4px;padding:2px 4px;
 line-height:1.2}
.abtn{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;flex:none;
 position:relative}
.abtn i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}
.abtn-a i{background:#EAF9F0}
.abtn-b i{background:var(--canvas)}
.abtn svg{width:19px;height:19px}
.dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;
 background:var(--alert);box-shadow:0 0 0 1.5px var(--primary-t)}
.abar-r{display:flex;align-items:center;gap:4px}

/* ---------- hamburger + drawer (⛔ ต้องปิดได้ 3 ทาง: ปุ่ม X · แตะพื้นหลัง · ESC) ----
   ใช้ :target ⇒ **ทำงานได้แม้ปิด JS** (JS แค่เพิ่ม ESC + ล็อกสกรอลล์) */
.drawer{display:none}
.drawer:target,.drawer.open{display:block;position:fixed;inset:0;z-index:60}
.dscrim{position:absolute;inset:0;background:rgba(9,26,47,.42);
 -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.dpanel{position:absolute;top:0;right:0;bottom:0;width:min(340px,88vw);background:#fff;
 display:flex;flex-direction:column;box-shadow:-14px 0 40px rgba(11,36,64,.22);
 overflow-y:auto;-webkit-overflow-scrolling:touch}
.dhead{position:sticky;top:0;background:#fff;display:flex;align-items:center;
 justify-content:space-between;padding:14px 14px 12px 18px;border-bottom:1px solid var(--hairline)}
.dhead b{font-family:var(--fh);font-weight:700;font-size:16px;color:var(--ink)}
.dclose{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;
 background:var(--canvas)}
.dclose svg{width:19px;height:19px;stroke:var(--ink-soft)}
.dgrp{padding:14px 18px 4px}
.dgrp>h3{font-weight:600;font-size:11px;letter-spacing:.06em;color:var(--ink-faint);
 text-transform:uppercase;margin-bottom:2px}
.dgrp a,.dgrp>span{display:flex;align-items:center;gap:11px;min-height:46px;
 font-weight:500;font-size:14px;color:var(--ink);border-bottom:1px solid var(--hairline)}
.dgrp a:last-child,.dgrp>span:last-child{border-bottom:0}
.dgrp a svg,.dgrp>span svg{width:18px;height:18px;stroke:var(--primary);flex:none}
.dgrp [aria-current]{color:var(--primary);font-weight:600}
.dcta{padding:14px 18px calc(20px + env(safe-area-inset-bottom,0px));display:grid;
 grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}
.dcta a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;
 border-radius:13px;font-weight:600;font-size:13.5px;color:#fff}
.dcta .p{background:var(--grad-cta)}
.dcta .l{background:linear-gradient(100deg,#06C755,#04A845)}

.dcta svg{width:17px;height:17px}

/* ---------- footer 4 กลุ่ม ---------- */
.fgrp h3{font-weight:600;font-size:11px;letter-spacing:.06em;color:var(--ink-faint);
 text-transform:uppercase;margin-bottom:5px}
.fgrp a,.fgrp .fcur{display:block;padding:3px 0;font-size:12.5px}
.fcur{color:var(--ink);font-weight:600}

/* ---------- generic blocks ---------- */
.full{padding:0 var(--edge)}
.card{margin:14px var(--inset) 0;background:var(--surface);border-radius:20px;padding:18px 16px}
.card.rail-card{padding:18px 0 8px 0}
.chead{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.card.rail-card .chead{padding:0 16px}
.chead h2,.chead h1{font-family:var(--fb);font-weight:600;font-size:16px;color:var(--ink);
 line-height:1.4}
/* tap target ≥44px — เพิ่ม padding แล้วหักด้วย margin ลบ เพื่อไม่ให้ layout ขยับ */
.more{font-weight:500;font-size:12px;color:var(--primary);white-space:nowrap;
 display:inline-flex;align-items:center;gap:4px;padding:14px 4px;margin:-14px -4px}
.more svg{width:13px;height:13px}

/* ---------- hero ---------- */
.hero{background:var(--grad-hero);padding:14px var(--edge) 20px;overflow:hidden}
.loc{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:var(--primary)}
.loc svg:first-child{width:15px;height:15px}
.loc svg:last-child{width:13px;height:13px}
/* ---------- hero: ข้อความซ้าย · ภาพขวา (โครงเดิมตาม design 1a) ----------
   ⛔ ห้ามให้ตัวหนังสือชิดภาพ — gap ≥16px มือถือ / ≥28px จอกว้าง (กฎเจ้าของ 3 ก.ย. 69) */
.hrow{display:flex;gap:16px;align-items:flex-start;margin-top:0}
.hrow .htx{flex:1;min-width:0}
.hero h1{font-family:var(--fh);font-weight:700;font-size:26px;line-height:1.3;
 letter-spacing:-.01em;color:var(--ink);text-wrap:pretty;margin-top:10px}
.hero h1 b{color:var(--primary);font-weight:700}
.hsub{font-weight:400;font-size:13px;line-height:1.7;color:var(--ink-soft);margin-top:10px}
@media(min-width:430px){
 .hrow{gap:28px}
 .hero h1{font-size:29px}
}

/* ---------- hero slideshow (อยู่ฝั่งขวา · ขยายพื้นที่ให้ใหญ่ขึ้น) ---------- */
.hslide{position:relative;border-radius:16px;overflow:hidden;flex:none;
 width:47%;max-width:230px;aspect-ratio:4/5;background:#dfe8f4;margin-top:0}
.hslide .sl{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.hslide .sl:first-child,.hslide .sl.on{opacity:1}
.hslide .sl img{position:absolute;inset:0;width:100%;height:100%;
 object-fit:cover;object-position:center;color:transparent}
/* ---------- ตัวบอกสไลด์: **ขีดแคปซูล** component เดียวใช้ทุกสไลด์ทั้งเว็บ ----------
   ⛔ ห้ามจุดกลม ⛔ ห้ามลูกศรซ้าย-ขวา ⛔ ห้าม emoji
   bar 15×3px · active 23px สีแบรนด์ · อื่น ๆ opacity .35 · gap 4px
   พื้นที่กด ≥44px ด้วย padding โปร่ง (ตัว bar ไม่ใหญ่ตาม) */
.hdots{position:absolute;left:0;right:0;bottom:6px;display:flex;justify-content:center;
 gap:4px;z-index:2;padding:0}
.hdots::before{content:"";position:absolute;left:0;right:0;bottom:-6px;height:34px;
 background:linear-gradient(to top,rgba(9,26,47,.28),rgba(9,26,47,0));
 pointer-events:none;z-index:-1;border-radius:0 0 16px 16px}
.hdots button{width:23px;height:44px;padding:0;display:flex;align-items:flex-end;
 justify-content:center;background:none;border:0;-webkit-tap-highlight-color:transparent}
.hdots button::before{content:"";display:block;width:15px;height:3px;border-radius:999px;
 background:#fff;opacity:.35;transition:width .25s cubic-bezier(.22,.61,.36,1),
 opacity .25s ease,background-color .25s ease}
.hdots button[aria-current="true"]::before{width:23px;opacity:1;background:var(--primary)}
@media(prefers-reduced-motion:reduce){.hdots button::before{transition:none}}
@media(prefers-reduced-motion:reduce){
 .hslide .sl{transition:none} .hslide .sl:not(:first-child){display:none} .hdots{display:none}
}

/* ---------- แถบสถิติ ---------- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}
.stats div{background:rgba(255,255,255,.72);border:1px solid #DCE7F6;border-radius:14px;
 padding:11px 6px;text-align:center}
.stats .n{font-family:var(--fh);font-weight:700;font-size:19px;color:var(--primary);
 line-height:1.2}
.stats .l{font-weight:500;font-size:10.5px;color:var(--ink-soft);line-height:1.4;margin-top:3px}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:20px}
.trust div{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.trust svg{width:26px;height:26px;stroke:var(--primary)}
.trust span{font-weight:500;font-size:11px;color:var(--ink);line-height:1.35}

/* ---------- CTA banner ---------- */
/* ---------- CTA คู่: แถวเดียว 2 คอลัมน์ (เจ้าของสั่ง 3 ก.ย. 69) ---------- */
/* ⛔ กฎถาวร: อะไรก็ตามที่อยู่ติดภาพ ต้องเว้น ≥16px (มือถือ) / ≥28px (จอกว้าง)
   ไม่ใช่แค่ตัวหนังสือ — ปุ่ม/ชิป/การ์ด/ตาราง ก็นับ
   (เคยพลาด 3 ก.ย. 69: แถวปุ่ม CTA แปะขอบล่างภาพหน้างาน ห่างแค่ 2px) */
.ctawrap{padding:0 var(--edge);margin:16px 0 4px;
 display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}
@media(min-width:430px){.ctawrap{margin:28px 0 6px}}
/* หน้าแรก: CTA ต่อจาก hero (พื้นไล่เฉด) ไม่ต้องเว้นเยอะ */
.hero + .ctawrap{margin-top:14px}
.cta{text-align:left;border-radius:16px;padding:12px 12px;background:var(--grad-cta);
 box-shadow:var(--sh-cta);display:flex;align-items:center;gap:9px;min-height:64px;min-width:0}
.cta.green{background:linear-gradient(100deg,#06C755,#04A845);
 box-shadow:0 8px 20px rgba(6,199,85,.28)}
.cta.green .tile{background:rgba(255,255,255,.2)}
.cta .tile{width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.18);
 display:grid;place-items:center;flex:none}
.cta .tile svg{width:19px;height:19px}
.cta .tile svg:not([viewBox="0 0 24 24"]),.cta .tile svg *{}
.cta .tx{flex:1;min-width:0}
.cta .t1{display:block;font-weight:600;font-size:14.5px;line-height:1.3;color:#fff;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cta .t2{font-weight:400;font-size:11px;line-height:1.35;color:rgba(255,255,255,.82);
 display:none}
.cta .go{width:17px;height:17px;stroke:#fff;flex:none;display:none}
/* จอกว้างขึ้นค่อยโชว์บรรทัดรอง + ลูกศร (มือถือย่อเหลือหัวข้อ ⛔ ไม่ stack) */
@media(min-width:430px){
 .cta{padding:14px 14px;gap:11px;min-height:70px}
 .cta .t1{font-size:15px}
 .cta .t2{display:block}
 .cta .go{display:block}
}

/* ---------- rails ---------- */
/* ⛔ scroll-snap จะ 'ดูด' ไอเทมแรกไปชิดขอบ ทำให้ padding ซ้ายหายไป
   ⇒ ต้องมี scroll-padding-inline เท่ากับ padding เสมอ (กฎถาวร 3 ก.ย. 69) */
.rail{display:flex;gap:12px;overflow-x:auto;padding:14px 16px 16px 16px;
 scroll-padding-inline:16px;
 scrollbar-width:none;-ms-overflow-style:none;scroll-snap-type:x proximity}
.rail::-webkit-scrollbar{display:none}
.rail>*{flex:none;scroll-snap-align:start}
.pf{width:156px;background:#fff;border:1px solid var(--hairline);
 border-radius:16px;padding:8px 8px 12px;overflow:hidden}
.pf .ph{width:100%;aspect-ratio:148/118;border-radius:11px}
.pf .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;color:transparent}
.pf .t{display:block;font-weight:500;font-size:13px;line-height:1.25;color:var(--ink);margin-top:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf .c{display:block;font-weight:400;font-size:12px;color:var(--ink-faint);line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.svc.on{border-color:var(--primary);background:var(--chip-bg)}
.svc.on .n{color:var(--primary)}
.svc{width:104px;border:1px solid var(--border);border-radius:16px;padding:14px 8px;
 display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;
 background:var(--surface)}
.svc svg{width:34px;height:34px;stroke:var(--primary)}
.svc .n{display:block;font-weight:500;font-size:12.5px;color:var(--ink);line-height:1.25}
.svc .s{display:block;font-weight:400;font-size:10.5px;color:var(--ink-faint);line-height:1.35}

/* ---------- review ---------- */
.rvbody{display:flex;gap:12px;margin-top:14px;align-items:flex-start}
.rvL{flex:1;min-width:0}
.rvhead{display:flex;align-items:center;gap:10px}
.rvhead img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none}
.rvhead .n{font-weight:600;font-size:13px;color:var(--ink)}
.rvhead .m{font-weight:400;font-size:11px;color:var(--ink-faint)}
.stars{color:var(--star);font-size:13px;letter-spacing:1px;margin:9px 0 7px}
.rvq{font-weight:400;font-size:12px;line-height:1.65;color:var(--ink-mut);text-wrap:pretty}
.rvI{width:104px;height:104px;border-radius:12px;object-fit:cover;flex:none}

/* ---------- band (แถบสร้างความมั่นใจ) ----------
   3 ก.ย. 69 เจ้าของ: "2 ส่วนนี้มันคล้ายกันเกินไป ช่วย design คนละแบบ"
   เดิมชื่อ .promise = การ์ดมุมมน + ข้อความซ้าย + รูปขวา ⇒ โครงเดียวกับ .lb ที่อยู่ถัดลงไปเป๊ะ
   ⇒ เปลี่ยนเป็นแถบเต็มความกว้าง ภาพอยู่ "หลัง" ข้อความ ไอคอน 3 ช่องเรียงแนวนอน
   ⛔ ห้ามใส่ border-radius / margin ซ้ายขวา / รูปข้างข้อความ — จะกลับไปซ้ำกับ .lb ทันที */
.band{position:relative;margin:18px 0 0;overflow:hidden;isolation:isolate;background:#0B1220}
.bandbg{position:absolute;inset:0;width:100%;height:100%;z-index:0}
/* scrim — ต้องทึบพอให้ตัวหนังสือขาวอ่านออกบนภาพจริงทุกใบ */
.band::after{content:"";position:absolute;inset:0;z-index:1;
 background:linear-gradient(165deg,rgba(9,15,28,.90),rgba(9,15,28,.74) 55%,rgba(9,15,28,.88))}
.bandin{position:relative;z-index:2;padding:26px var(--edge) 24px}
.band h2{font-family:var(--fh);font-weight:700;font-size:19px;line-height:1.45;
 color:#fff;text-wrap:pretty;max-width:24ch}
.bandg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}
.bandg>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;
 font-size:11.5px;font-weight:500;line-height:1.35;color:rgba(255,255,255,.94)}
.bi{width:42px;height:42px;border-radius:50%;flex:none;display:flex;
 align-items:center;justify-content:center;
 background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22)}
.bandg svg{flex:none}
@media(min-width:430px){
 .bandin{padding:32px var(--edge) 30px}
 .band h2{font-size:21px}
 .bandg{gap:14px;margin-top:24px}
 .bandg>div{font-size:12.5px}
 .bi{width:48px;height:48px}
}
.stats .n .u{font-size:11px;font-weight:600;color:var(--ink-soft);margin-left:3px}
body.nolock{}
html.mopen,body.mopen{overflow:hidden}

/* ---------- prose (โซนเนื้อหา SEO) ---------- */
.prose{font-size:14.5px;line-height:1.85;color:var(--ink-mut)}
.prose h2{font-family:var(--fh);font-weight:700;font-size:18px;line-height:1.5;color:var(--ink);
 margin:22px 0 8px;text-wrap:pretty}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:var(--fb);font-weight:600;font-size:15px;color:var(--ink);margin:16px 0 6px}
.prose p{margin:0 0 12px}
.prose ul,.prose ol{margin:0 0 12px;padding-left:20px}
.prose li{margin-bottom:6px}
.prose a{color:var(--primary);font-weight:500}
.prose strong{color:var(--ink);font-weight:600}
.prose figure{margin:18px 0}
.prose figure .ph{position:relative;width:100%;aspect-ratio:4/3;border-radius:14px;
 overflow:hidden;background:var(--canvas)}
.prose figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 color:transparent}
.prose figcaption{font-size:11.5px;color:var(--ink-faint);margin-top:6px;line-height:1.5}
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 12px}
.tw table{width:100%;border-collapse:collapse;font-size:13px}
.tw th,.tw td{border:1px solid var(--hairline);padding:8px 10px;text-align:left;vertical-align:top}
.tw th{background:var(--canvas);font-weight:600;color:var(--ink);white-space:nowrap}
.note{background:var(--chip-bg);border:1px solid var(--chip-bd);border-radius:14px;
 padding:12px 14px;font-size:13px;line-height:1.7;color:var(--ink-mut);margin:0 0 12px}

/* ---------- inline service strip + CTA (หลังย่อหน้าแรก) ---------- */
.strip{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;margin:0 0 14px;
 scroll-padding-inline:0;scrollbar-width:none}
.strip::-webkit-scrollbar{display:none}
.strip a{flex:none;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--chip-bd);
 background:var(--chip-bg);color:var(--primary);font-weight:500;font-size:12px;
 border-radius:999px;padding:8px 14px;min-height:44px}
.strip a svg{width:15px;height:15px}

/* ---------- FAQ ---------- */
.faq details{border-bottom:1px solid var(--hairline)}
.faq details:last-child{border-bottom:0}
.faq summary{list-style:none;cursor:pointer;padding:13px 26px 13px 0;position:relative;
 font-weight:600;font-size:14px;line-height:1.6;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:4px;top:19px;width:8px;height:8px;
 border-right:2px solid var(--ink-faint);border-bottom:2px solid var(--ink-faint);
 transform:rotate(45deg);transition:transform .18s}
.faq details[open] summary::after{transform:rotate(-135deg);top:22px}
.faq .a{padding:0 0 14px;font-size:13.5px;line-height:1.8;color:var(--ink-mut)}

/* ---------- link list ---------- */
.llist{display:flex;flex-direction:column;margin-top:6px}
/* ⛔ hover แล้วเงาขึ้น ตัวหนังสือต้องไม่ชิดขอบเงา ⇒ ต้องมี padding ในตัว (กฎเจ้าของ 3 ก.ย. 69) */
.llist{margin:6px -10px 0}
.llist a{display:flex;align-items:center;gap:12px;padding:13px 10px;border-radius:14px;
 border-bottom:1px solid var(--hairline);min-height:52px}
.llist a:last-child{border-bottom:0}
@media(hover:hover){.llist a:hover{background:#fff;border-bottom-color:transparent}}
.llist .ic{width:38px;height:38px;border-radius:12px;background:var(--primary-t);
 display:grid;place-items:center;flex:none}
.llist .ic svg{width:19px;height:19px;stroke:var(--primary)}
.llist .tx{flex:1;min-width:0}
.llist .n{display:block;font-weight:600;font-size:13.5px;color:var(--ink);line-height:1.4}
.llist .s{display:block;font-weight:400;font-size:11.5px;color:var(--ink-faint);line-height:1.5}
.llist .go{width:16px;height:16px;stroke:var(--ink-faint);flex:none}

/* ---------- breadcrumb ---------- */
.crumb{display:flex;align-items:center;gap:7px;padding:10px var(--edge) 0;font-size:11.5px;
 color:var(--ink-faint);white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.crumb::-webkit-scrollbar{display:none}
.crumb a{color:var(--ink-faint)}
.crumb span.sep{color:#B9C6D6}
.crumb span.cur{color:var(--ink)}

/* ---------- page title ---------- */
.ptitle{padding:8px var(--edge) 2px}
.ptitle h1{font-family:var(--fh);font-weight:700;font-size:24px;line-height:1.34;
 letter-spacing:-.01em;color:var(--ink);text-wrap:pretty}
.ptitle .lead{font-size:13px;line-height:1.75;color:var(--ink-soft);margin-top:8px}
/* วันที่อัปเดตล่าสุด — ใช้ค่าจริงจาก _lastmod.json ⛔ ไม่ใส่ยอดวิวปลอม */
.updated{display:inline-flex;align-items:center;gap:5px;margin-top:8px;font-size:11.5px;
 color:var(--ink-faint);line-height:1.2}
.updated svg{width:13px;height:13px;stroke:var(--ink-faint)}
/* CTA สั้นหลังย่อหน้าแรก */
.icta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 16px;
 padding:12px 14px;background:var(--chip-bg);border:1px solid var(--chip-bd);border-radius:14px}
.icta .t{flex:1;min-width:140px;font-size:12.5px;line-height:1.4;color:var(--ink);font-weight:500}
.icta .b{display:flex;gap:8px}
.icta a{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:40px;
 padding:0 12px;border-radius:11px;font-weight:600;font-size:12.5px;color:#fff;
 white-space:nowrap;line-height:1.2}
.icta .p{background:var(--grad-cta)}
.icta .l{background:linear-gradient(100deg,#06C755,#04A845)}

/* ---------- footer ---------- */
.foot{margin:18px var(--inset) 0;padding:18px 16px 20px;background:var(--surface);
 border-radius:20px;font-size:12.5px;line-height:1.8;color:var(--ink-faint)}
.foot h3{font-weight:600;font-size:13px;color:var(--ink);margin-bottom:6px}
.foot .cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.foot a{color:var(--ink-faint);display:block}
.foot .cc{margin-top:14px;padding-top:12px;border-top:1px solid var(--hairline);font-size:11.5px}
/* ---------- QR เพิ่มเพื่อน LINE ในแถวล่าง footer (เจ้าของสั่ง 3 ก.ย. 69) ----------
   เดิมฝั่งขวาของแถวนี้เป็นช่องว่างเปล่า ⇒ เอา QR ไปเติม
   ⛔ QR ต้องอยู่บนพื้นขาว + จัตุรัสเป๊ะ + ห้ามยืด/ครอป ไม่งั้นสแกนไม่ติด */
.ccx{display:flex;align-items:center;gap:16px}
.cctx{flex:1;min-width:0}
.ccqr{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;
 text-decoration:none}
/* ⛔ box-sizing:content-box จงใจ — เจ้าของกำหนดขนาด "ตัว QR" ไม่ใช่ขนาดกล่อง
   ถ้าเป็น border-box ⇒ width 132 - padding 12 - border 2 = ภาพเหลือ 118px = ต่ำกว่าเพดาน 120px ที่สั่งไว้ */
.qrbox{display:block;box-sizing:content-box;width:126px;aspect-ratio:1/1;background:#fff;
 border-radius:12px;border:1px solid var(--hairline);padding:6px;overflow:hidden}
.qrbox img{width:100%;height:100%;object-fit:contain;display:block}
.qrl{font-size:10.5px;line-height:1.3;color:var(--ink-faint);text-align:center;
 max-width:132px;font-weight:500}
@media(min-width:430px){
 .ccx{gap:28px}
 .qrbox{width:132px}   /* ภาพ QR = 132px (สเปกเจ้าของ desktop 120–140px) */
 .qrl{font-size:11px}
}
/* จอแคบ: QR ลงมาอยู่ใต้ข้อความ จัดกึ่งกลาง ⛔ ห้ามเล็กจนสแกนไม่ติด */
@media(max-width:400px){
 .ccx{flex-direction:column;align-items:stretch;gap:16px}
 .ccqr{align-self:center}
 .qrbox{width:150px}   /* ภาพ QR = 150px (สเปกเจ้าของ mobile 140–160px) */
 .qrl{max-width:150px}
}
.spacer{height:36px;flex:none}

/* ---------- tab bar ---------- */
.tabbar{position:sticky;bottom:0;z-index:40;margin-top:auto;
 background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
 border-top:1px solid var(--hairline);
 padding:10px 6px calc(14px + env(safe-area-inset-bottom,0px));
 display:grid;grid-template-columns:repeat(5,1fr);align-items:center}
.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
 padding:4px 0;min-height:46px;color:var(--ink-faint)}
.tab svg{width:23px;height:23px;stroke:currentColor}
.tab span{font-weight:600;font-size:10px;line-height:1.2}
.tab.on{color:var(--primary)}
.tab.on svg{fill:var(--primary-t2)}
.tab.fab{justify-content:center;gap:0;min-height:46px;position:relative}
/* FAB = LINE@ ⇒ วงเขียว LINE + @ ขาว (เจ้าของสั่ง 3 ก.ย. 69)
   ⛔ ไม่ใส่ badge เขียวซ้อนบนวงน้ำเงิน — สีจะชนกัน */
/* FAB = LINE@ · **วงเขียว LINE เต็ม + @ ขาว** (เจ้าของสั่ง 3 ก.ย. 69 ไม่เอาพื้นขาว) */
/* FAB ลอยขึ้นทับเส้นบนของ tab bar */
.fabbtn{width:56px;height:56px;border-radius:50%;border:4px solid #fff;
 background:#06C755;box-shadow:0 8px 18px rgba(6,199,85,.45);
 display:grid;place-items:center;position:absolute;top:-22px;left:50%;
 transform:translateX(-50%)}
.fabbtn img{width:32px;height:32px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- placeholder badge ---------- */
.phbadge{position:absolute;left:6px;top:6px;z-index:2;background:rgba(11,36,64,.62);
 color:#fff;font-size:9px;font-weight:600;border-radius:6px;padding:2px 5px;letter-spacing:.02em}

/* เจ้าของสั่ง 3 ก.ย. 69: แถบหมวดบริการอยู่ใต้ CTA · ต้องเว้น ≥16px ทั้งบนและล่าง */
.ctawrap + .rail-card{margin-top:16px}
.rail-card + .card{margin-top:16px}

/* ภาพหัวหน้าลูก — เว้นระยะบน/ล่างเท่ากัน ⛔ ห้ามมีอะไรแปะขอบภาพ */
.pgimg{margin-top:16px}

/* ---------- client logo grid ----------
   ⛔⛔ FROZEN — เจ้าของอนุมัติค่าชุดนี้แล้ว ห้ามแก้ถ้าไม่ได้สั่ง
   (3 ก.ย. 69 ผมลบบล็อกนี้ทิ้งโดยไม่ตั้งใจตอน refactor .lb ที่อยู่ติดกัน
    ⇒ กริดยุบเหลือ 1 คอลัมน์ · object-fit กลายเป็น fill · โลโก้ยืดผิดส่วน)
   ค่าที่อนุมัติ: มือถือ 3 คอลัมน์ · ≥420px 4 · ≥600px 5
                 กล่อง 56px สูงเท่ากันทุกใบ · object-fit:contain · พื้นขาว */
.cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.clogo{display:grid;place-items:center;height:56px;border:1px solid var(--hairline);
 border-radius:12px;background:#fff;overflow:hidden;padding:6px}
.clogo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(min-width:420px){.cgrid{grid-template-columns:repeat(4,1fr)}}
@media(min-width:600px){.cgrid{grid-template-columns:repeat(5,1fr)}}
.cnote{font-size:11px;line-height:1.6;color:var(--ink-faint);margin-top:10px}

/* ---------- local business block ----------
   มือถือ: ซ้าย=ข้อมูล (สูงเต็ม 2 แถว) · ขวาบน=รูป · ขวาล่าง=เบอร์+พื้นที่+ปุ่ม
   ⇒ ไม่เหลือพื้นที่ขาวใต้รูป (dead space = 0)
   ≥600px: meta กลับไปอยู่ใต้ข้อมูลฝั่งซ้าย (desktop เหมือนเดิม) */
/* ⚠️ 3 ก.ย. 69 เจ้าของ: "2 ส่วนนี้มันคล้ายกันเกินไป ช่วย design คนละแบบ"
   บล็อกนี้กับ .band อยู่ติดกันและเคยเป็นโครงเดียวกันเป๊ะ (ข้อความซ้าย + รูปขวา)
   ⇒ บล็อกนี้สลับเป็น "รูปเป็นแบนเนอร์กว้างด้านบน แล้วข้อมูลไหลอยู่ใต้"
   ⇒ .band ด้านบนกลายเป็นแถบเต็มจอไม่มีการ์ด ⇒ จังหวะการอ่านต่างกันชัดเจน
   ⛔ ห้ามกลับไปเป็น "info photo" คู่กับ .band อีก */
.lb{display:grid;grid-template-columns:minmax(0,1fr);
 column-gap:16px;row-gap:16px;align-items:start;
 grid-template-areas:"photo" "info" "meta" "cta"}
.lbL{grid-area:info;min-width:0}
.lbmap{grid-area:photo}
.lbmeta{grid-area:meta;min-width:0}
@media(min-width:600px){
 .lb{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:28px;row-gap:28px;
  grid-template-areas:"photo photo" "info meta" "cta cta"}
}
.lb h2{font-family:var(--fh);font-weight:700;font-size:17px;line-height:1.4;color:var(--ink)}
.lbsub{font-size:12.5px;line-height:1.7;color:var(--ink-soft);margin-top:6px}
.lbchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.lbchips span{font-size:11px;font-weight:500;color:var(--primary);background:var(--chip-bg);
 border:1px solid var(--chip-bd);border-radius:999px;padding:4px 9px;line-height:1.2}
.lbtel{display:flex;align-items:center;gap:7px;min-height:34px;font-size:15px;
 font-weight:700;color:var(--primary);line-height:1.2}
.lbtel svg{flex:none}
.lbrow{display:flex;align-items:flex-start;gap:7px;margin-top:7px;font-size:11.5px;
 color:var(--ink-mut);line-height:1.5}
.lbrow svg{flex:none;margin-top:2px}
/* ปุ่ม: เรียงลงในคอลัมน์แคบ · สูง 44px · บรรทัดเดียวเสมอ */
/* แถวปุ่ม: กินเต็มความกว้างการ์ด 2 คอลัมน์เท่ากัน ⛔ ไม่ให้เหลือช่องว่างฝั่งขวา
   (เจ้าของสั่ง 3 ก.ย. 69) · ≤340px ยุบเป็นคอลัมน์เดียว */
.lbcta{grid-area:cta;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:10px;margin-top:0}
@media(max-width:340px){.lbcta{grid-template-columns:minmax(0,1fr)}}
.lbcta a{display:flex;align-items:center;justify-content:center;gap:5px;height:44px;
 border-radius:12px;font-weight:600;font-size:12px;color:#fff;padding:0 6px;
 white-space:nowrap;line-height:1.2}
@media(min-width:430px){.lbcta a{font-size:12.5px;gap:6px;padding:0 8px}}
.lbcta .p{background:var(--grad-cta)}
.lbcta .l{background:linear-gradient(100deg,#06C755,#04A845)}

/* แบนเนอร์กว้างด้านบนการ์ด — ⛔ ห้ามกลับไปเป็นรูปจัตุรัสข้าง ๆ ข้อความ */
.lbmap{position:relative;width:100%;max-width:none;align-self:start;
 aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#E8EEF7;
 border:1px solid var(--hairline)}
@media(min-width:600px){.lbmap{aspect-ratio:21/9}}
.lbmap .sl{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.lbmap .sl:first-child,.lbmap .sl.on{opacity:1}
.lbmap .sl img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 object-position:center;color:transparent}
@media(prefers-reduced-motion:reduce){.lbmap .sl{transition:none}
 .lbmap .sl:not(:first-child){display:none}}
/* ---------- hero image wrapper ---------- */
.himgwrap{position:relative;width:148px;height:112px;border-radius:14px;overflow:hidden;
 flex:none;margin-top:2px;background:var(--canvas);display:block}
.himgwrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 border-radius:14px;color:transparent}
/* promise: รูปทีมงานเป็น flex item ปกติ ⛔ ห้าม absolute (เคยทับตัวหนังสือ 3 ก.ย. 69) */
/* ---------- avatar placeholder ---------- */
.avph{width:38px;height:38px;border-radius:50%;flex:none}
/* ---------- quote form ---------- */
.qform{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.qf{display:flex;flex-direction:column;gap:6px}
.qf label{font-size:12.5px;font-weight:600;color:var(--ink)}
.qf input,.qf select,.qf textarea{font:inherit;font-size:14px;color:var(--ink);
 background:var(--canvas);border:1px solid var(--border);border-radius:12px;
 padding:11px 14px;width:100%;min-height:44px}
.qf textarea{min-height:88px;resize:vertical}
.qsend{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;
 border-radius:14px;background:var(--grad-cta);color:#fff;font-weight:600;font-size:15px;
 box-shadow:var(--sh-cta)}
.qsend svg{stroke:#fff}
.qnote{font-size:11.5px;line-height:1.6;color:var(--ink-faint)}

/* ---------- การ์ดบทความ (blog cluster) ----------
   ทุกใบต้องมี ภาพปก + หัวข้อ + คำโปรย + วันที่ ⛔ ห้ามข้อความล้วน
   กรอบภาพ aspect-ratio คงที่ + img absolute ⇒ ภาพโหลดไม่ได้ การ์ดยังสูงเท่ากัน
   ⛔ ห้ามยืดภาพ: object-fit:cover เสมอ */
.bgrid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
@media(min-width:460px){.bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bcard{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);
 border-radius:14px;overflow:hidden;background:#fff}
.bthumb{position:relative;display:block;width:100%;aspect-ratio:4/3;
 background:var(--canvas);overflow:hidden}
.bthumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 color:transparent;border-radius:0}
.btx{display:flex;flex-direction:column;gap:5px;padding:11px 12px 12px}
.bt{font-family:var(--fh);font-weight:600;font-size:14px;line-height:1.35;color:var(--ink);
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bd{font-size:11.5px;line-height:1.6;color:var(--ink-soft);
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bm{display:flex;align-items:center;gap:5px;font-size:10.5px;line-height:1.2;
 color:var(--ink-faint);margin-top:1px}
.bm svg{stroke:var(--ink-faint);flex:none}

/* ============================================================
   _anim.py — ANIM_CSS
   ⛔ ค่าเริ่มต้น (ไม่มี JS) ต้องเห็นเนื้อหาปกติเสมอ — ห้าม opacity:0 แบบไม่มีเงื่อนไข
   ============================================================ */

/* ---------- 1+2. scroll reveal — ซ่อนเฉพาะเมื่อ JS เติม html.js-anim แล้วเท่านั้น ---------- */
.reveal{opacity:1;transform:none}
html.js-anim .reveal{
 opacity:0;
 transform:translateY(14px);
 transition:opacity .38s cubic-bezier(.22,.61,.36,1),
            transform .38s cubic-bezier(.22,.61,.36,1);
 will-change:opacity,transform;
}
html.js-anim .reveal.in{
 opacity:1;
 transform:translateY(0);
}
/* stagger: ใช้ custom property --rd (revea delay) ที่ JS ใส่ให้ทีละตัว */
html.js-anim .reveal{transition-delay:var(--rd,0ms)}

/* ---------- 3. hover / active feedback ---------- */
.pf,.svc,.llist a,.strip a,.clogo{
 transition:transform .18s cubic-bezier(.22,.61,.36,1),
            box-shadow .18s cubic-bezier(.22,.61,.36,1);
}
@media(hover:hover){
 .pf:hover,.svc:hover,.llist a:hover,.strip a:hover,.clogo:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(11,36,64,.14);
 }
}
.pf:active,.svc:active,.llist a:active,.strip a:active,.clogo:active{
 transform:translateY(-1px);
}
.cta{transition:transform .16s cubic-bezier(.22,.61,.36,1)}
.cta:active{transform:scale(.985)}

/* ---------- 4. rail scroll-snap ---------- */
.rail{
 scroll-snap-type:x proximity;
 -webkit-overflow-scrolling:touch;
}
.rail>*{scroll-snap-align:start}

/* ---------- 6. blur-up ภาพ (ข้าม LCP ด้วย attribute selector ใน JS) ---------- */
.ph img{opacity:1}
html.js-anim .ph img:not([data-anim-skip]){
 opacity:0;
 transition:opacity .35s ease;
}
html.js-anim .ph img.ld{opacity:1}

/* ---------- 7. app bar scrolled state ---------- */
.appbar{transition:box-shadow .2s ease,border-color .2s ease}
.appbar.sc{
 border-bottom-color:var(--hairline,rgba(11,36,64,.08));
 box-shadow:0 10px 24px rgba(11,36,64,.14);
}

/* ---------- 8. reduced motion — ปิดทุกอย่างแบบเบ็ดเสร็จ ---------- */
@media (prefers-reduced-motion: reduce){
 html.js-anim .reveal{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
 }
 .pf,.svc,.llist a,.strip a,.clogo,.cta,.appbar{transition:none !important}
 .pf:hover,.svc:hover,.llist a:hover,.strip a:hover,.clogo:hover,
 .pf:active,.svc:active,.llist a:active,.strip a:active,.clogo:active,
 .cta:active{transform:none !important}
 html.js-anim .ph img:not([data-anim-skip]){opacity:1 !important;transition:none !important}
}
