/* SK Prakanpai — นายหน้าศรีกรุงโบรคเกอร์
   โทน: เขียวศรีกรุง + น้ำเงินน่าเชื่อถือ + ทองหรูหรา  อารมณ์: ทางการ น่าเชื่อถือ */

:root{
  --green:#12703a; --green-d:#0b5028; --green-l:#1d8f4c; --green-sf:#eef6f0;
  --navy:#12385f; --navy-d:#0a2340; --navy-sf:#eef2f7;
  --gold:#b8892a; --gold-l:#d9ab48; --gold-sf:#fbf4e4;
  --ink:#17211c; --body:#42504a; --mute:#6d7a74;
  --paper:#fff; --soft:#f4f7f4; --line:#e2e9e4;
  --sh-1:0 1px 2px rgba(16,32,24,.05),0 2px 8px rgba(16,32,24,.05);
  --sh-2:0 2px 4px rgba(16,32,24,.06),0 12px 28px rgba(16,32,24,.09);
  --r-s:10px; --r:16px; --r-l:22px;
  --wrap:1180px; --gut:16px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--body);
  font-family:"IBM Plex Sans Thai","Noto Sans Thai",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px; line-height:1.75; overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:var(--green); text-decoration:none}
a:hover{color:var(--green-d)}
h1,h2,h3,h4{color:var(--ink); font-weight:700; line-height:1.4; margin:0 0 .5em; letter-spacing:-.01em}
p{margin:0 0 1em}
ul,ol{margin:0; padding:0; list-style:none}
button{font:inherit; color:inherit}
:focus-visible{outline:3px solid var(--gold); outline-offset:2px; border-radius:6px}

.wrap{width:100%; max-width:var(--wrap); margin:0 auto; padding:0 var(--gut)}
.wrap-narrow{max-width:760px}
.mid{text-align:center}
.skip{position:absolute; left:0; top:0; z-index:200; background:var(--green); color:#fff; padding:12px 18px; border-radius:0 0 8px 0; transform:translateY(-200%)}
.skip:focus{transform:none}
.ic{width:1.25em; height:1.25em; flex:none}
.brand-glyph{width:1.35em; height:1.35em; flex:none}

/* ---------- ปุ่ม ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:999px; border:1.5px solid transparent;
  font-weight:600; font-size:16px; line-height:1.4; cursor:pointer;
  transition:transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn-lg{padding:15px 30px; font-size:17px}
.btn-block{width:100%}
.btn-green{background:var(--green); color:#fff; box-shadow:var(--sh-1)}
.btn-gold{background:var(--gold-l); color:#2a1f06; box-shadow:var(--sh-1)}
.btn-line{background:#06c755; color:#fff}
.btn-outline{background:transparent; color:var(--green-d); border-color:var(--green)}
.btn-ghost{background:rgba(255,255,255,.14); color:#fff; border-color:rgba(255,255,255,.5)}
@media (hover:hover) and (pointer:fine){
  .btn-green:hover{background:var(--green-d); transform:translateY(-2px); box-shadow:var(--sh-2)}
  .btn-gold:hover{background:var(--gold); transform:translateY(-2px); box-shadow:var(--sh-2)}
  .btn-line:hover{background:#05b04c; transform:translateY(-2px)}
  .btn-outline:hover{background:var(--green-sf)}
  .btn-ghost:hover{background:rgba(255,255,255,.26)}
}
.btn .ic{width:1.1em; height:1.1em}

/* ---------- แถบบนสุด ---------- */
.topbar{background:var(--navy-d); color:rgba(255,255,255,.86); font-size:14px; line-height:1.5}
.topbar-in{display:flex; flex-direction:column; align-items:center; gap:2px; padding-top:4px; padding-bottom:4px; text-align:center}
.topbar p{margin:0}
.tb-left{display:none; align-items:center; gap:7px; justify-content:center; text-align:left}
.tb-left .ic{color:var(--gold-l); width:17px; height:17px; flex:none}
.tb-right{display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:center}
.tb-hours{display:inline-flex; align-items:center; gap:6px}
.tb-hours .ic{color:var(--gold-l); width:16px; height:16px}
.tb-tel{display:inline-flex; align-items:center; gap:6px; color:#fff; min-height:44px; padding:0 2px}
.tb-tel .ic{color:var(--gold-l); width:16px; height:16px}
.tb-tel b{color:var(--gold-l); font-weight:700; letter-spacing:.01em}
.tb-tel:hover{color:#fff}
.tb-tel:hover b{text-decoration:underline}
@media (min-width:900px){
  .topbar-in{flex-direction:row; justify-content:space-between; text-align:left; gap:16px}
  .tb-left{display:flex}
  .tb-right{justify-content:flex-end}
}

/* ---------- แถบหัวเว็บ ---------- */
.site-head{position:sticky; top:0; z-index:60; background:rgba(255,255,255,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.head-in{display:flex; align-items:center; gap:14px; min-height:66px}
.brand{display:flex; align-items:center; gap:10px; color:var(--ink); flex:none; min-height:44px; padding:2px 0}
.brand-mark{width:40px; height:40px; border-radius:9px; object-fit:contain}
.brand-txt{display:flex; flex-direction:column; line-height:1.4}
.brand-txt b{font-size:17px; font-weight:700; letter-spacing:-.01em; color:var(--navy)}
.brand-txt i{font-style:normal; font-size:14px; color:var(--mute)}
.nav-desk{display:none; margin-left:auto; gap:2px}
.nav-desk a{display:inline-flex; align-items:center; min-height:44px; padding:9px 13px; border-radius:999px; font-size:15.5px; font-weight:500; color:var(--body); transition:background-color .2s var(--ease), color .2s var(--ease)}
.nav-desk a:hover{background:var(--green-sf); color:var(--green-d)}
.nav-desk a[aria-current]{color:var(--green-d); font-weight:600; background:var(--green-sf)}
.head-cta{display:flex; align-items:center; gap:8px; margin-left:auto}
.nav-desk+.head-cta{margin-left:0}
.head-cta .btn-line,.head-cta .btn-call,.head-cta .btn-signup{min-height:44px; padding:10px 15px; font-size:15px}
.head-cta .btn-line span,.head-cta .btn-call span,.head-cta .btn-signup span{display:none}
.head-cta .btn-call{display:none}
@media (min-width:480px){ .head-cta .btn-call{display:inline-flex} }
.btn-call{background:var(--green-sf); color:var(--green-d); border-color:#c9e3d2}
.btn-call:hover{background:#e2f0e7; color:var(--green-d)}
.nav-signup{display:flex!important; align-items:center; gap:8px; margin-top:10px; border:0!important; color:#8a6410!important; background:var(--gold-sf); border-radius:12px; padding:13px 14px!important; font-weight:600!important}
.nav-toggle{display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border:1.5px solid var(--line); background:#fff; border-radius:12px; cursor:pointer}
.nav-mobile{display:flex; flex-direction:column; padding:6px var(--gut) 16px; border-top:1px solid var(--line); background:#fff}
.nav-mobile a{display:flex; align-items:center; min-height:48px; padding:13px 6px; border-bottom:1px solid var(--line); font-weight:500; color:var(--ink); font-size:16px}
.nav-mobile a[aria-current]{color:var(--green-d); font-weight:600}
.nav-call{display:flex!important; align-items:center; gap:8px; margin-top:12px; border:0!important; color:var(--green-d)!important; font-weight:600!important}
@media (min-width:1024px){
  .nav-desk{display:flex}
  .head-cta .btn-line span,.head-cta .btn-call span,.head-cta .btn-signup span{display:inline}
  .nav-toggle{display:none}
  .nav-mobile{display:none!important}
  .brand-mark{width:44px; height:44px}
  .brand-txt b{font-size:19px}
}

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero{position:relative; width:100%; overflow:hidden; background:var(--navy-d)}
.slides{position:relative}
.slide{display:none}
.slide.is-on{display:block; animation:slideIn .5s var(--ease) both}
@keyframes slideIn{from{opacity:0}to{opacity:1}}
.slide-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; max-width:none}
.slide[data-focus="top"] .slide-img{object-position:center 22%}
.slide[data-focus="left"] .slide-img{object-position:22% center}
.slide[data-focus="right"] .slide-img{object-position:78% center}
.slide-shade{position:absolute; inset:0; background:linear-gradient(155deg,rgba(7,32,20,.94) 0%,rgba(8,26,40,.88) 45%,rgba(8,26,40,.8) 100%)}
.slide-in{position:relative; display:grid; gap:18px; padding-top:22px; padding-bottom:58px; align-items:center}
.slide-body{min-width:0}
.slide-badge{display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  color:#fff; font-size:14px; font-weight:500; padding:7px 14px; border-radius:999px; margin-bottom:14px}
.slide-badge .ic{color:var(--gold-l); width:17px; height:17px; flex:none}
@media (min-width:900px){ .slide-badge{display:none} }
.slide-h{color:#fff; font-size:clamp(28px,6.4vw,52px); line-height:1.4; max-width:18ch; text-wrap:balance; margin:0 0 12px; text-shadow:0 2px 18px rgba(0,0,0,.35)}
.slide-p{color:rgba(255,255,255,.9); font-size:clamp(15.5px,2.2vw,19px); line-height:1.7; max-width:46ch; margin:0 0 22px}
.slide-btns{display:flex; flex-wrap:wrap; gap:10px}
.slide-side{justify-self:center; width:100%; max-width:420px; display:flex; justify-content:center}
.slide-side img{width:auto; max-width:100%; max-height:34vh; border-radius:var(--r-l); box-shadow:0 18px 50px rgba(0,0,0,.4)}
.hero-ctl{position:absolute; left:0; right:0; bottom:16px; display:flex; align-items:center; justify-content:center; gap:14px; z-index:3}
.arw{width:44px; height:44px; border-radius:999px; border:1.5px solid rgba(255,255,255,.5); background:rgba(0,0,0,.28); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background-color .2s var(--ease)}
.arw:hover{background:rgba(0,0,0,.5)}
.arw[data-prev] .ic{transform:rotate(180deg)}
.dots{display:flex; gap:8px}
.dot{width:9px; height:9px; border:0; background-clip:content-box; box-sizing:content-box; padding:17px 6px; margin:-17px -6px; border-radius:999px; background:rgba(255,255,255,.45); cursor:pointer; transition:width .25s var(--ease), background-color .25s var(--ease)}
.dot.is-on{width:26px; background:var(--gold-l)}
@media (min-width:900px){
  .slide-in{grid-template-columns:1.05fr .95fr; gap:44px; padding-top:56px; padding-bottom:80px}
  .slide-side{justify-self:end; max-width:480px}
  .slide-side img{max-height:none; width:100%}
}

/* ---------- ตัวเลข ---------- */
.stats{background:var(--navy-d); color:#fff}
.stats-in{display:grid; grid-template-columns:repeat(2,1fr); gap:10px; padding-top:26px; padding-bottom:26px}
.stat{text-align:center; padding:8px 6px}
.stat b{display:block; font-size:clamp(24px,5.4vw,34px); font-weight:700; color:var(--gold-l); line-height:1.4}
.stat span{display:block; font-size:14px; color:rgba(255,255,255,.82); line-height:1.5; margin-top:3px}
@media (min-width:768px){ .stats-in{grid-template-columns:repeat(4,1fr); gap:16px; padding-top:34px; padding-bottom:34px} .stat span{font-size:15px} }

/* ---------- โครงเซกชัน ---------- */
.sec{padding:52px 0}
.sec-soft{background:var(--soft)}
.sec-dark{background:linear-gradient(160deg,var(--green-d),var(--navy-d)); color:#fff}
.sec-dark h2,.sec-dark h3{color:#fff}
.sec-dark .ic-card h3{color:var(--ink)}
.sec-dark .ic-card p{color:var(--mute)}
.sec-dark .sec-sub{color:rgba(255,255,255,.82)}
.sec-dark .kicker{color:var(--gold-l); background:rgba(255,255,255,.1)}
.sec-head{max-width:660px; margin:0 auto 32px; text-align:center}
.kicker{display:inline-block; font-size:14px; font-weight:600; letter-spacing:.06em; color:var(--green-d); background:var(--green-sf); padding:5px 13px; border-radius:999px; margin-bottom:12px}
.sec-head h2{font-size:clamp(25px,5.2vw,40px); margin:0 0 10px}
.sec-sub{font-size:16.5px; color:var(--mute); margin:0}
@media (min-width:768px){ .sec{padding:76px 0} .sec-head{margin-bottom:44px} }

/* ---------- หัวหน้าย่อย ---------- */
.phead{position:relative; padding:46px 0 40px; background:linear-gradient(150deg,var(--green-d),var(--navy-d)); color:#fff; overflow:hidden}
.phead::before{content:""; position:absolute; inset:0; background-image:var(--phead-bg); background-size:cover; background-position:center; opacity:.18}
.phead .wrap{position:relative}
.phead h1{color:#fff; font-size:clamp(28px,6.2vw,46px); margin:0 0 10px}
.phead-sub{color:rgba(255,255,255,.88); font-size:16.5px; max-width:52ch; margin:0}
@media (min-width:768px){ .phead{padding:66px 0 58px} }

/* ---------- การ์ดไอคอน (2 คอลัมน์บนมือถือ) ---------- */
.grid-icons{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
.ic-card{background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:18px 15px; transition:transform .2s var(--ease), box-shadow .2s var(--ease)}
.sec-soft .ic-card{box-shadow:var(--sh-1)}
.ic-wrap{display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; background:var(--green-sf); color:var(--green-d); margin-bottom:11px}
.ic-wrap .ic{width:23px; height:23px}
.ic-card h3{font-size:16.5px; margin:0 0 5px; line-height:1.4}
.ic-card p{font-size:14.5px; margin:0; line-height:1.65; color:var(--mute)}
@media (hover:hover) and (pointer:fine){ .ic-card:hover{transform:translateY(-3px); box-shadow:var(--sh-2)} }
@media (min-width:480px){ .grid-icons{gap:14px} .ic-card p{font-size:15px} }
@media (min-width:768px){ .grid-icons{grid-template-columns:repeat(4,1fr); gap:16px} .grid-icons.grid-3{grid-template-columns:repeat(3,1fr)} .ic-card{padding:24px 20px} .ic-card h3{font-size:18px} }

/* ---------- การ์ดไฮไลต์ ---------- */
.hi-card{display:grid; gap:20px; margin-top:26px; background:linear-gradient(150deg,var(--gold-sf),#fff); border:1px solid var(--gold-l); border-radius:var(--r-l); padding:24px 20px}
.hi-txt h3{font-size:clamp(19px,3.6vw,27px); margin:0 0 10px; line-height:1.4}
.hi-txt p{font-size:15.5px; margin:0 0 18px}
.hi-img{border-radius:var(--r); width:100%; margin-inline:auto}
@media (min-width:900px){ .hi-card{grid-template-columns:1.15fr .85fr; align-items:center; gap:36px; padding:34px} }

/* ---------- เหมาะกับใคร ---------- */
.grid-aud{display:grid; grid-template-columns:repeat(2,1fr); gap:10px}
.aud{border:1px solid var(--line); border-radius:var(--r); padding:18px 15px; background:var(--paper); transition:transform .2s var(--ease), border-color .2s var(--ease)}
.aud-ic{display:inline-flex; width:38px; height:38px; align-items:center; justify-content:center; border-radius:999px; background:var(--navy-sf); color:var(--navy); margin-bottom:10px}
.aud h3{font-size:16px; margin:0 0 4px}
.aud p{font-size:14px; color:var(--mute); margin:0; line-height:1.6}
@media (hover:hover) and (pointer:fine){ .aud:hover{transform:translateY(-3px); border-color:var(--green)} }
@media (min-width:480px){ .grid-aud{grid-template-columns:repeat(3,1fr); gap:14px} }
@media (min-width:900px){ .grid-aud{grid-template-columns:repeat(6,1fr); gap:14px} .aud p{font-size:14px} }

/* ---------- ขั้นตอนแบบย่อ ---------- */
.steps-mini{display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:30px}
.steps-mini li{display:flex; align-items:flex-start; gap:10px; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.16); border-radius:var(--r); padding:14px 13px}
.steps-mini b{flex:none; width:26px; height:26px; border-radius:999px; background:var(--gold-l); color:#2a1f06; display:inline-flex; align-items:center; justify-content:center; font-size:14px}
.steps-mini span{font-size:14.5px; font-weight:500; color:#fff; line-height:1.5}
@media (min-width:768px){ .steps-mini{grid-template-columns:repeat(4,1fr); gap:14px} }
@media (min-width:1024px){ .steps-mini{grid-template-columns:repeat(7,1fr)} .steps-mini li{flex-direction:column; gap:8px} }

/* ---------- ขั้นตอนแบบเต็ม ---------- */
.steps-full{display:grid; gap:14px; max-width:900px; margin:0 auto}
.stp{display:flex; gap:14px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:18px 16px; box-shadow:var(--sh-1)}
.stp-n{flex:none; width:34px; height:34px; border-radius:999px; background:var(--green); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:16px}
.stp-b h3{font-size:17.5px; margin:0 0 6px; line-height:1.42}
.stp-b p{font-size:15.5px; margin:0; color:var(--body)}
.stp-note{display:flex!important; align-items:flex-start; gap:6px; margin-top:9px!important; font-size:14px!important; color:var(--green-d)!important; font-weight:500}
.stp-note .ic{width:17px; height:17px; margin-top:3px; flex:none}
@media (min-width:768px){ .stp{padding:24px 22px; gap:18px} .stp-n{width:40px; height:40px; font-size:18px} .stp-b h3{font-size:19px} }

/* ---------- การ์ดราคา ---------- */
.price-card{display:grid; gap:20px; background:linear-gradient(155deg,var(--green-d),var(--navy-d)); color:#fff; border-radius:var(--r-l); padding:26px 22px; box-shadow:var(--sh-2)}
.price-card .kicker{background:rgba(255,255,255,.12); color:var(--gold-l)}
.price{margin:0; font-size:17px; color:rgba(255,255,255,.9)}
.price b{font-size:clamp(46px,11vw,74px); font-weight:700; color:var(--gold-l); line-height:1.4; margin-right:6px}
.price i{display:block; font-style:normal; font-size:14.5px; color:rgba(255,255,255,.75); margin-top:8px}
.price-list{display:grid; gap:11px}
.price-list li{display:flex; align-items:flex-start; gap:10px; font-size:15.5px; line-height:1.6; color:rgba(255,255,255,.94)}
.price-list .ic{flex:none; width:20px; height:20px; margin-top:4px; color:var(--gold-l)}
@media (min-width:900px){ .price-card{grid-template-columns:.85fr 1.15fr; gap:40px; align-items:center; padding:40px 36px} }

/* ---------- แกลเลอรีไม่ครอปรูป ---------- */
.masonry{display:grid; grid-template-columns:repeat(2,1fr); gap:10px; align-items:start}
.m-item{margin:0}
.m-open{display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; border-radius:var(--r-s); overflow:hidden}
.m-open img{width:100%; height:auto; max-width:100%!important; border-radius:var(--r-s); transition:transform .3s var(--ease)}
.m-item figcaption{font-size:14px; line-height:1.55; color:var(--mute); margin-top:7px}
@media (hover:hover) and (pointer:fine){ .m-open:hover img{transform:scale(1.02)} }
@media (min-width:480px){ .masonry{grid-template-columns:repeat(3,1fr); gap:12px} .m-item figcaption{font-size:14px} }
@media (min-width:1024px){
  .masonry{gap:18px}
  .masonry.m-3{grid-template-columns:repeat(3,1fr)}
  .masonry.m-4{grid-template-columns:repeat(4,1fr)}
  .m-item figcaption{font-size:14px}
}

/* ---------- รูปกว้าง (โลโก้บริษัท / รางวัล) ---------- */
.wide-img{margin:0 auto 22px; max-width:1000px}
.wide-img.is-narrow{max-width:660px}
.wide-img .m-open{border-radius:var(--r-l); overflow:hidden}
.wide-img img{width:100%; border-radius:var(--r-l)}
.wide-img figcaption{font-size:14px; color:var(--mute); text-align:center; margin-top:10px; line-height:1.6}

/* ---------- ตัวกรอง ---------- */
.chips{display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:26px}
.chip{display:inline-flex; align-items:center; min-height:44px; padding:9px 17px; border-radius:999px; border:1.5px solid var(--line); background:#fff; color:var(--body); font-size:14.5px; font-weight:500; cursor:pointer; transition:background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease)}
.chip:hover{border-color:var(--green); color:var(--green-d)}
.chip.is-on{background:var(--green); border-color:var(--green); color:#fff}

/* ---------- แผนการตลาด ---------- */
.plan-grid{display:grid; grid-template-columns:1fr; gap:18px; max-width:960px; margin:0 auto}
.plan{margin:0}
.plan figcaption{margin-top:9px}
.plan .plan-img{margin-inline:auto}
.plan figcaption b{display:block; font-size:16px; color:var(--ink); line-height:1.45}
.plan figcaption span{display:block; font-size:14px; color:var(--mute); line-height:1.6; margin-top:3px}
.plan-note{max-width:960px; margin:22px auto 0; font-size:14px; color:var(--mute); text-align:center; line-height:1.7}
@media (min-width:768px){ .plan-grid{grid-template-columns:repeat(2,1fr); gap:24px} }

/* ---------- วิดีโอ ---------- */
.vid-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
.vid-play{display:block; position:relative; width:100%; padding:0; border:0; background:#000; border-radius:var(--r); overflow:hidden; cursor:pointer; aspect-ratio:16/9}
.vid-play img{width:100%; height:100%; object-fit:cover; opacity:.9; transition:opacity .2s var(--ease), transform .3s var(--ease)}
.vid-ic{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff}
.vid-ic .ic{width:52px; height:52px; filter:drop-shadow(0 2px 10px rgba(0,0,0,.5))}
.vid h3{font-size:14.5px; margin:9px 0 0; line-height:1.5; font-weight:500}
.vid iframe{width:100%; aspect-ratio:16/9; border:0; border-radius:var(--r); display:block}
@media (hover:hover) and (pointer:fine){ .vid-play:hover img{opacity:1; transform:scale(1.03)} }
@media (min-width:768px){ .vid-grid{grid-template-columns:repeat(4,1fr); gap:18px} .vid h3{font-size:15px} }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq{display:grid; gap:10px}
.faq-i{background:var(--paper); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.faq-i summary{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:16px 18px; cursor:pointer; font-weight:600; color:var(--ink); font-size:16px; line-height:1.55; list-style:none}
.faq-i summary::-webkit-details-marker{display:none}
.faq-arw{transform:rotate(90deg); transition:transform .2s var(--ease); color:var(--green); margin-top:3px}
.faq-i[open] .faq-arw{transform:rotate(-90deg)}
.faq-a{padding:0 18px 17px; font-size:15.5px}
.faq-a p{margin:0 0 .7em}
.faq-a p:last-child{margin:0}

/* ---------- เกี่ยวกับเรา ---------- */
.ab-wrap{display:grid; gap:44px}
.ab-row{display:grid; gap:22px; align-items:center}
.ab-txt h2{font-size:clamp(23px,4.6vw,34px)}
.ab-txt p{font-size:16.5px}
.ab-img{display:flex; justify-content:center}
.ab-img img{border-radius:var(--r-l); width:100%; margin-inline:auto}
@media (min-width:900px){
  .ab-row{grid-template-columns:1.05fr .95fr; gap:48px}
  .ab-row.is-flip .ab-txt{order:2}
  .ab-row.is-flip .ab-img{order:1}
}
.tm-lead{max-width:470px; margin:0 auto 22px}
.tm-lead img{width:100%; border-radius:var(--r-l)}
.tm-grid{display:grid; grid-template-columns:1fr; gap:18px; max-width:900px; margin:0 auto}
.tm{background:var(--paper); border:1px solid var(--line); border-radius:var(--r-l); padding:20px; box-shadow:var(--sh-1)}
.tm-img{border-radius:var(--r); overflow:hidden; margin-bottom:14px; background:var(--soft)}
.tm h3{font-size:20px; margin:0 0 3px}
.tm-role{font-size:15px; color:var(--green-d); font-weight:500; margin:0 0 12px}
.tm-lic{display:grid; gap:8px}
.tm-lic li{display:flex; align-items:flex-start; gap:9px; font-size:14.5px; line-height:1.6; color:var(--body)}
.tm-lic .ic{flex:none; width:19px; height:19px; margin-top:3px; color:var(--gold)}
.tm-lic b{color:var(--ink); font-weight:600}
@media (min-width:768px){ .tm-grid{grid-template-columns:repeat(2,1fr)} }

.pt-block{margin-bottom:26px}
.pt-h{display:flex; align-items:center; gap:9px; font-size:18px; margin:0 0 14px; color:var(--navy)}
.pt-h .ic{color:var(--green)}
.pt-list{display:grid; grid-template-columns:repeat(2,1fr); gap:8px}
.pt-list li{background:var(--paper); border:1px solid var(--line); border-radius:var(--r-s); padding:11px 12px; font-size:14px; line-height:1.5; color:var(--body); text-align:center; display:flex; align-items:center; justify-content:center}
.pt-more{color:var(--mute)!important; font-style:italic}
.pt-note{font-size:14px; color:var(--mute); line-height:1.7; margin-top:6px}
@media (min-width:480px){ .pt-list{grid-template-columns:repeat(3,1fr)} }
@media (min-width:768px){ .pt-list{grid-template-columns:repeat(4,1fr); gap:10px} }
@media (min-width:1024px){ .pt-list{grid-template-columns:repeat(6,1fr)} }

/* ---------- บทความ ---------- */
.post-grid{display:grid; grid-template-columns:1fr; gap:18px}
.post{background:var(--paper); border:1px solid var(--line); border-radius:var(--r-l); overflow:hidden; transition:transform .2s var(--ease), box-shadow .2s var(--ease)}
.post-link{display:block; color:inherit}
.post-img{aspect-ratio:16/10; overflow:hidden; background:var(--soft)}
.post-img img{width:100%; height:100%; object-fit:cover; transition:transform .35s var(--ease)}
.post-img-none{background:linear-gradient(140deg,var(--green-sf),var(--navy-sf))}
.post-b{padding:17px 18px 20px}
.post-cat{display:inline-block; font-size:14px; font-weight:600; color:var(--green-d); background:var(--green-sf); padding:4px 11px; border-radius:999px; margin-bottom:10px}
.post-b h2,.post-b h3{font-size:18.5px; margin:0 0 8px; line-height:1.45}
.post-b p{font-size:15px; color:var(--mute); margin:0 0 12px}
.post-more{display:inline-flex; align-items:center; min-height:44px; gap:5px; font-size:14.5px; font-weight:600; color:var(--green)}
.post-more .ic{width:17px; height:17px}
@media (hover:hover) and (pointer:fine){ .post:hover{transform:translateY(-3px); box-shadow:var(--sh-2)} .post:hover .post-img img{transform:scale(1.04)} }
@media (min-width:600px){ .post-grid{grid-template-columns:repeat(2,1fr)} }
@media (min-width:1024px){ .post-grid{grid-template-columns:repeat(3,1fr); gap:24px} }
.empty{text-align:center; color:var(--mute); padding:40px 0}

.art{padding:34px 0 20px}
.crumb{display:flex; align-items:center; flex-wrap:wrap; gap:5px; font-size:14px; color:var(--mute); margin-bottom:16px}
.crumb a{display:inline-flex; align-items:center; min-height:44px; padding-right:2px}
.crumb .ic{width:15px; height:15px}
.crumb span{color:var(--ink)}
.art h1{font-size:clamp(27px,5.6vw,42px); margin:8px 0 12px}
.art-meta{font-size:14px; color:var(--mute); margin:0 0 16px}
.art-lead{font-size:18px; color:var(--ink); font-weight:500; line-height:1.7; margin:0 0 26px}
.art-cover{margin-bottom:30px}
.art-cover{display:flex; justify-content:center}
.art-cover img{border-radius:var(--r-l); width:auto; height:auto; max-width:100%; max-height:68vh; margin-inline:auto}
.art-body{font-size:17px; line-height:1.85}
.art-body h2{font-size:clamp(21px,4vw,28px); margin:36px 0 12px}
.art-body h3{font-size:19px; margin:26px 0 10px}
.art-body p{margin:0 0 1.15em}
.art-body ul{list-style:disc; padding-left:1.3em; margin:0 0 1.15em}
.art-body ul li{margin-bottom:.45em}
.art-body img{border-radius:var(--r); margin:20px 0}
.art-body a{text-decoration:underline}

/* ---------- ติดต่อ ---------- */
.ct-grid{display:grid; gap:34px}
.ct-info h2,.ct-form h2{font-size:clamp(21px,4vw,29px)}
.ct-list{display:grid; gap:16px; margin-bottom:22px}
.ct-list li{display:flex; gap:13px; align-items:flex-start}
.ct-ic{flex:none; display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:var(--green-sf); color:var(--green-d)}
.ct-list b{display:block; font-size:14px; color:var(--mute); font-weight:500}
.ct-list a,.ct-list span{display:inline-flex; align-items:center; min-height:44px; font-size:17px; color:var(--ink); font-weight:600; word-break:break-word}
.ct-list em{min-height:0}
.ct-list a{color:var(--green-d)}
.ct-list em{display:block; font-style:normal; font-size:14px; color:var(--mute); font-weight:400; margin-top:2px}
.map-card{display:flex; align-items:center; gap:13px; padding:16px; border:1.5px solid var(--line); border-radius:var(--r); background:var(--paper); color:var(--ink); transition:border-color .2s var(--ease), transform .2s var(--ease)}
.map-card b{display:block; font-size:16px}
.map-card em{font-style:normal; font-size:14px; color:var(--mute)}
.map-card>.ic{margin-left:auto; color:var(--green)}
.map-ic{display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; border-radius:12px; background:var(--navy-sf); color:var(--navy); flex:none}
@media (hover:hover) and (pointer:fine){ .map-card:hover{border-color:var(--green); transform:translateY(-2px)} }
.ct-form-sub{font-size:15px; color:var(--mute); margin:-6px 0 18px}
@media (min-width:900px){ .ct-grid{grid-template-columns:.85fr 1.15fr; gap:56px} }

/* ---------- ฟอร์ม ---------- */
.lead-form{background:var(--paper); border:1px solid var(--line); border-radius:var(--r-l); padding:22px 18px; box-shadow:var(--sh-1)}
.sec-soft .lead-form{box-shadow:var(--sh-2)}
.fld-grid{display:grid; gap:15px; margin-bottom:16px}
.fld label{display:block; font-size:14.5px; font-weight:600; color:var(--ink); margin-bottom:6px}
.req{color:#c0392b}
.fld input,.fld select,.fld textarea{
  width:100%; font:inherit; font-size:16px; line-height:1.6; color:var(--ink);
  padding:12px 14px; border:1.5px solid var(--line); border-radius:var(--r-s);
  background:#fff; transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.fld textarea{resize:vertical; min-height:104px}
.fld select{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2342504a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:19px; padding-right:40px}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(18,112,58,.14)}
.fld.has-err input,.fld.has-err select,.fld.has-err textarea{border-color:#c0392b; background:#fdf5f4}
.err{display:none; font-size:14px; color:#c0392b; margin:6px 0 0; line-height:1.5}
.fld.has-err .err{display:block}
.hp{font-size:16px; position:absolute!important; left:-9999px!important; width:1px; height:1px; opacity:0}
.form-note{font-size:14px; color:var(--mute); margin:0 0 14px; line-height:1.6}
.form-msg{margin:14px 0 0; font-size:15px; font-weight:600; text-align:center; line-height:1.6}
.form-msg.ok{color:var(--green-d)}
.form-msg.bad{color:#c0392b}
.lead-form.is-sending button[type=submit]{opacity:.6; pointer-events:none}
@media (min-width:600px){
  .lead-form{padding:28px 26px}
  .fld-grid{grid-template-columns:repeat(2,1fr); gap:16px}
  .fld-message{grid-column:1/-1}
}

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band{background:linear-gradient(150deg,var(--green-d),var(--navy-d)); color:#fff; padding:44px 0}
.cta-in{display:grid; gap:22px; text-align:center}
.cta-in h2{color:#fff; font-size:clamp(22px,4.4vw,32px); margin:0 0 8px}
.cta-in p{color:rgba(255,255,255,.86); margin:0; font-size:16px}
.cta-btns{display:flex; flex-wrap:wrap; gap:11px; justify-content:center}
@media (min-width:900px){
  .cta-in{grid-template-columns:1fr auto; text-align:left; align-items:center; gap:34px}
  .cta-btns{justify-content:flex-end}
}

/* ---------- ท้ายเว็บ ---------- */
.site-foot{background:var(--navy-d); color:rgba(255,255,255,.78); padding:44px 0 0; margin-bottom:70px}
.foot-grid{display:grid; gap:30px; padding-bottom:32px}
.foot-logo{width:180px; border-radius:var(--r-s); background:#fff; padding:8px; margin-bottom:14px}
.foot-brand p{font-size:15px; color:rgba(255,255,255,.8); margin:0 0 14px; max-width:34ch}
.foot-social{display:flex; gap:10px}
.foot-social a{display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:999px; background:rgba(255,255,255,.1); color:#fff; transition:background-color .2s var(--ease)}
.foot-social a:hover{background:var(--green-l); color:#fff}
.foot-col h2{color:#fff; font-size:16px; margin:0 0 13px}
.foot-col ul{display:grid; gap:2px}
.foot-col li{display:flex}
.foot-col a{display:inline-flex; align-items:center; min-height:44px; color:rgba(255,255,255,.78); font-size:15px}
.foot-col a:hover{color:var(--gold-l)}
.foot-contact li{display:flex; align-items:center; gap:9px; font-size:15px}
.foot-contact a,.foot-contact span{display:inline-flex; align-items:center; min-height:44px}
.foot-contact .ic,.foot-contact .brand-glyph{flex:none; margin-top:3px; color:var(--gold-l); width:18px; height:18px}
.lic-list{display:grid; gap:11px}
.foot-col .lic-list li{display:block}
.lic-list li{font-size:14px; line-height:1.6}
.lic-name{display:block; color:#fff; font-weight:600}
.lic-no{display:block; color:rgba(255,255,255,.72); font-size:14px}
.lic-note{font-size:14px; color:rgba(255,255,255,.55); margin:12px 0 0; line-height:1.65}
.foot-base{border-top:1px solid rgba(255,255,255,.13); padding-top:18px; padding-bottom:22px}
.foot-base p{margin:0; font-size:14px; color:rgba(255,255,255,.62); line-height:1.7}
.foot-legal{font-size:14px!important; color:rgba(255,255,255,.45)!important; margin-top:5px!important}
@media (min-width:768px){ .foot-grid{grid-template-columns:1.4fr .8fr 1fr 1.2fr; gap:34px} }
@media (min-width:1024px){ .site-foot{margin-bottom:0} }

/* ---------- ปุ่มลอยบนมือถือ ---------- */
.dock{position:fixed; left:0; right:0; bottom:0; z-index:70; display:grid; grid-template-columns:1fr 1fr; gap:1px; background:rgba(0,0,0,.08); box-shadow:0 -2px 14px rgba(16,32,24,.14); padding-bottom:env(safe-area-inset-bottom)}
.dock-btn{display:flex; align-items:center; justify-content:center; gap:8px; height:56px; font-size:16px; font-weight:600; color:#fff}
.dock-line{background:#06c755}
.dock-call{background:var(--green-d)}
.dock-btn:hover{color:#fff}
@media (min-width:1024px){ .dock{display:none} }

/* ---------- กล่องขยายรูป ---------- */
.zoom{position:fixed; inset:0; z-index:120; display:none; align-items:center; justify-content:center; background:rgba(10,18,14,.93); padding:20px}
.zoom.is-on{display:flex}
.zoom img{max-width:100%; max-height:82vh; width:auto; border-radius:var(--r-s); object-fit:contain}
.zoom-cap{position:absolute; left:0; right:0; bottom:22px; text-align:center; color:rgba(255,255,255,.9); font-size:14.5px; padding:0 24px; line-height:1.6}
.zoom-x{position:absolute; top:16px; right:16px; width:46px; height:46px; border-radius:999px; border:1.5px solid rgba(255,255,255,.4); background:rgba(0,0,0,.35); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer}

.sec-404{padding:80px 0 100px}
.sec-404 h1{font-size:clamp(26px,5.4vw,40px)}

/* ---------- อนิเมชัน: เนื้อหาปรากฏตอนเลื่อนถึง เล่นครั้งเดียว ---------- */
.reveal{opacity:0; transform:translateY(20px)}
.reveal.is-in{opacity:1; transform:none; transition:opacity .5s var(--ease), transform .5s var(--ease)}
.no-js .reveal{opacity:1; transform:none}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important}
  .reveal{opacity:1!important; transform:none!important}
}
