/* mobile-home.css — หน้าแรกเวอร์ชันมือถือ (≤768px เท่านั้น, desktop ไม่เปลี่ยน) */
.mh{display:none}
@media(max-width:768px){
.hero,.ctabar{display:none!important}
/* repeated card lists → swipe sideways */
body .svc-grid,body .team-grid,body .tech-cards-col,body #blogs .home-blog-grid{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-left:-20px!important;margin-right:-20px!important;padding:4px 20px 14px!important;scroll-padding:0 20px;max-width:none!important}
body .svc-grid::-webkit-scrollbar,body .team-grid::-webkit-scrollbar,body .tech-cards-col::-webkit-scrollbar,body #blogs .home-blog-grid::-webkit-scrollbar{display:none}
body .svc-grid>*,body .team-grid>*,body .tech-cards-col>*,body #blogs .home-blog-grid>*{scroll-snap-align:start;flex:0 0 78%!important;min-width:0!important;max-width:none!important;margin:0!important}
body .team-grid>*{flex-basis:62%!important}
body .svc-grid>*,body .tech-cards-col>*{flex-basis:72%!important}
body .svc-grid>*,body .team-grid>*,body .tech-cards-col>*,body #blogs .home-blog-grid>*{opacity:1!important;transform:none!important}
body .svc-grid.is-drag,body .team-grid.is-drag,body .tech-cards-col.is-drag,body #blogs .home-blog-grid.is-drag{scroll-snap-type:none;cursor:grabbing}
.sw-nav{display:flex;justify-content:flex-end;gap:12px;margin-top:6px}
/* about: heading first (biggest), image under heading */
body #about .about-grid{display:flex!important;flex-direction:column!important;gap:0!important}
body #about .about-grid .eyebrow,body #about .about-grid .stitle{text-align:left!important;align-self:flex-start!important;justify-content:flex-start!important;margin-left:0!important;width:100%}
body #about .about-grid .eyebrow::before,body #about .about-grid .eyebrow::after{display:none!important}
body #about .about-grid>div:not(.about-img-col){display:contents!important}
body #about .about-grid .eyebrow{order:1;font-size:24px!important}
body :is(#services,#team,#tech,#testimonials,#blogs,#contact) .eyebrow{font-size:24px!important}
body :is(#services,#team,#tech,#testimonials,#blogs,#contact) .stitle{font-size:50px!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.5px!important}
body #about .about-grid .stitle{order:2;font-size:50px!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.5px!important;margin:6px 0 28px!important}
body #about .about-img-col{order:3;margin:0 0 28px!important}
body #about .about-grid .sdesc{order:4}
body #about .about-grid .about-feats{order:5;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
body #about .about-feats .about-feat{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px!important;padding:16px 10px!important;margin:0!important;font-size:16px!important;line-height:1.35!important;min-height:96px;width:auto!important}
body #about .about-feats .about-feat svg{flex:none;margin:0!important}
body .svc-card .svc-icon{display:flex!important;align-items:center!important;justify-content:center!important}
body .tech-cards-col .tech-card .tech-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:16px!important;background:rgba(196,168,130,.14)!important;border:1px solid rgba(196,168,130,.28)!important}
body .tech-card .tech-icon img{width:34px!important;height:34px!important;margin:0!important;filter:brightness(0) saturate(100%) invert(68%) sepia(20%) saturate(500%) hue-rotate(350deg) brightness(92%) contrast(88%)!important}
body #techDots{display:flex!important;align-items:center!important;gap:8px!important}
body #techDots button{min-height:0!important;min-width:0!important;height:8px!important;width:8px!important;padding:0!important;border:0!important;border-radius:999px!important;flex:0 0 auto!important;transform:none!important;box-sizing:border-box!important}
body #techDots button.on{width:22px!important}
/* stats: rounded tinted box, 2-col grid */
body .stats-bar{background:#fff!important;padding:28px 20px!important;border:0!important}
body .stats-bar .stats-inner{display:grid!important;grid-template-columns:1fr 1fr!important;gap:30px 12px!important;flex-direction:initial!important;background:linear-gradient(135deg,#FFFDFA 0%,#FCF6F0 45%,#F9F0EA 100%)!important;border-radius:24px!important;padding:38px 16px 36px!important;max-width:520px;margin:0 auto!important}
body .stats-bar .stat-sep{display:none!important}
body .stats-bar .stat{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:6px!important;padding:0!important;margin:0!important}
body .stats-bar .stat-n{font-size:46px!important;font-weight:400!important;line-height:1!important;color:#2E2219!important;-webkit-text-fill-color:#2E2219!important;background:none!important;letter-spacing:-.5px}
body .stats-bar .stat-l{font-size:18px!important;line-height:1.3!important;color:#9A8F84!important;margin:0!important}
.sw-nav button{width:48px;height:48px;border-radius:50%;border:1px solid rgba(196,168,130,.4);background:#fff;color:#4A3828;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.sw-nav button[disabled]{opacity:.35}
.sw-nav svg{width:20px;height:20px}

.mh{display:block;font-family:'DB Helvethaica X',sans-serif;color:#3B2A1C;background:#fff;position:relative;z-index:1}
.mh *{box-sizing:border-box}
.mh a{color:#6F5949}
.mh a:hover{color:#8B7355}
.mh-wrap{padding:0 26px}
.mh-center{text-align:center}
.mh-h2{font-size:44px;font-weight:300;line-height:1.12;color:#4A3828;margin:0 0 10px;letter-spacing:-.3px;text-wrap:balance}
.mh-lead{font-size:22px;color:#9A8F84;margin:0;line-height:1.5;text-wrap:pretty}
.mh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 34px;border-radius:999px;background:radial-gradient(70% 120% at 50% 0%,rgba(255,240,222,.45) 0%,rgba(255,240,222,0) 60%),linear-gradient(90deg,#5E4A3B 0%,#8B7355 50%,#5E4A3B 100%);color:#fff!important;font-size:22px;font-weight:500;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -2px 6px rgba(40,28,18,.25),0 6px 16px rgba(94,74,59,.25)}
.mh-hero{background:linear-gradient(180deg,#fff 0,rgba(255,255,255,.85) 60px,rgba(255,255,255,0) 220px),radial-gradient(90% 55% at 12% 30%,rgba(239,226,208,.75),transparent 70%),radial-gradient(80% 50% at 95% 10%,rgba(246,238,228,.9),transparent 70%),linear-gradient(180deg,#FFFFFF,#FBF7F2);text-align:center;padding:30px 0 0;overflow:hidden}
body .mh-hero h1,body .mh-hero .mh-h1{display:block;font-size:54px!important;font-weight:500!important;line-height:1.08!important;margin:0 0 10px!important;color:#4A3828;text-wrap:balance}
.mh-hero h1 span,.mh-hero .mh-h1 span{display:block;color:#8B7355;font-weight:500}
.mh-hero .mh-sub{font-size:27px;font-weight:400;color:#4A3828;margin:0 0 22px}
.mh-rate{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 20px;margin:22px 0 0;font-size:21px;color:#3B2A1C}
.mh-rate>span{display:inline-flex;align-items:center;gap:8px}
.mh-rate b{font-weight:600}
.mh-rate .star{color:#F2B705;font-style:normal}
.mh-rate svg{width:28px;height:28px}
.mh-rate2{margin-top:8px}
.mh-dot{width:9px;height:9px;border-radius:50%;background:#C4A882;display:inline-block}
.mh-hero-img{margin:14px 0 0;aspect-ratio:1/1;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14%,#000 92%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 14%,#000 92%,transparent 100%)}
.mh-hero-img img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
}
