/*
Theme Name: MeChang Online
Theme URI: https://mechang.online
Description: Custom Thai-first marketing & SEO theme for มีช่างออนไลน์ (mechang.online). Companion to the MeChang app at mechang.app. Hybrid classic theme — content editable via the MeChang Online Core plugin (Carbon Fields).
Author: ThinkLab / Ash
Version: 0.1.2
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: mechang-online
Tags: business, custom-menu, featured-images, translation-ready
*/

/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;800&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');

:root{
  --orange:#f97316; --orange-600:#ea580c; --orange-100:#fce8d6; --orange-200:#fed7aa;
  --cream:#f9f7f2; --cream-100:#f3f0eb; --cream-200:#e8e0d4;
  --ink:#1a1714; --gray-500:#6b635a; --gray-400:#a89c8e; --gray-300:#d4c9bc;
  --white:#fff; --radius:20px; --shadow:0 10px 30px -12px rgba(26,23,20,.18);
  --maxw:1140px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Noto Sans Thai','Prompt',system-ui,sans-serif;background:var(--cream);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.display{font-family:'Prompt','Noto Sans Thai',sans-serif;line-height:1.2;font-weight:700}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.narrow{max-width:760px;margin:0 auto;padding:0 24px}
section{padding:80px 0}
.muted{color:var(--gray-500)}
.center{text-align:center}
.catic{width:30px;height:30px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:13px 24px;font-family:'Prompt',sans-serif;font-weight:600;font-size:15px;cursor:pointer;border:1.5px solid transparent;transition:.18s}
.btn-primary{background:var(--orange);color:#fff;box-shadow:0 8px 20px -8px rgba(249,115,22,.6)}
.btn-primary:hover{background:var(--orange-600);transform:translateY(-1px)}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--cream-200)}
.btn-ghost:hover{border-color:var(--orange);color:var(--orange-600)}
.btn-outline{background:transparent;color:var(--ink);border-color:rgba(26,23,20,.18)}
.btn-outline:hover{border-color:var(--orange);color:var(--orange-600)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:'Prompt',sans-serif;font-weight:600;font-size:13px;letter-spacing:.02em;color:var(--orange-600);background:var(--orange-100);padding:6px 14px;border-radius:999px}

/* section heading */
.sec-head{text-align:center;max-width:660px;margin:0 auto 48px}
.sec-head h2{font-size:clamp(26px,3.4vw,38px);margin:14px 0 12px}
.sec-head p{color:var(--gray-500);font-size:17px}

/* NAV */
header.nav{position:sticky;top:0;z-index:50;background:rgba(249,247,242,.82);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--cream-200)}
.nav-row{display:flex;align-items:center;gap:28px;height:72px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Prompt',sans-serif;font-weight:800;font-size:20px}
.brand .logo{width:36px;height:36px;border-radius:10px;flex:none}
img.logo{object-fit:contain}
.nav-links{display:flex;gap:26px;margin-left:8px;list-style:none}
.nav-links a{font-family:'Prompt',sans-serif;font-weight:500;font-size:15px;color:var(--gray-500)}
.nav-links a:hover,.nav-links a.active,.nav-links .current-menu-item a{color:var(--orange-600)}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:14px}
.lang{font-family:'Prompt',sans-serif;font-weight:600;font-size:13px;color:var(--gray-500);border:1px solid var(--cream-200);border-radius:999px;padding:6px 12px}
.lang a{color:var(--gray-500)}
.lang b,.lang .active{color:var(--orange-600)}
.navtoggle{display:none;margin-left:auto;background:none;border:0;cursor:pointer}

/* PAGE HERO (inner pages) */
.page-hero{position:relative;overflow:hidden;padding:64px 0 56px;text-align:center}
.page-hero .blob{position:absolute;border-radius:50%;filter:blur(8px);opacity:.5;z-index:-1;width:420px;height:420px;background:var(--orange-200);top:-160px;right:-80px}
.page-hero h1{font-size:clamp(30px,4.4vw,46px);font-weight:800;margin:16px 0 14px;letter-spacing:-.01em}
.page-hero p{font-size:18px;color:var(--gray-500);max-width:600px;margin:0 auto 26px}
.crumb{font-size:13px;color:var(--gray-400);margin-bottom:6px}
.crumb a:hover{color:var(--orange-600)}

/* generic grids/cards */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--cream-200);border-radius:var(--radius);padding:28px}
.card h3{font-size:17px;margin-bottom:8px}
.card p{font-size:14.5px;color:var(--gray-500)}
.icbox{width:48px;height:48px;border-radius:14px;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center;margin-bottom:16px}
.icbox svg{width:26px;height:26px}

/* feature rows */
.frow{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:64px}
.frow:last-child{margin-bottom:0}
.frow.rev .ftext{order:2}
.frow .fimg{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3}
.frow .fimg img{width:100%;height:100%;object-fit:cover}
.frow .step-no{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--orange);color:#fff;font-family:'Prompt';font-weight:800;font-size:14px;margin-bottom:14px}
.frow h3{font-size:24px;margin-bottom:10px}
.frow p{font-size:16px;color:var(--gray-500)}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step{background:#fff;border-radius:var(--radius);padding:30px 26px;border:1px solid var(--cream-200)}
.step .num{font-family:'Prompt';font-weight:800;font-size:14px;color:#fff;background:var(--orange);width:36px;height:36px;border-radius:50%;display:grid;place-items:center}
.step h3{font-size:18px;margin:18px 0 8px}
.step p{font-size:14.5px;color:var(--gray-500)}

/* FAQ */
.faq{max-width:760px;margin:0 auto}
.faq details{background:#fff;border:1px solid var(--cream-200);border-radius:14px;padding:0 22px;margin-bottom:12px}
.faq summary{list-style:none;cursor:pointer;padding:18px 0;font-family:'Prompt';font-weight:600;font-size:16px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--orange);font-size:24px;font-weight:400;line-height:1}
.faq details[open] summary::after{content:"\2013"}
.faq details p{padding:0 0 20px;color:var(--gray-500);font-size:15px}

/* pricing */
.pricing{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch}
.price{background:#fff;border:1px solid var(--cream-200);border-radius:var(--radius);padding:28px 24px;display:flex;flex-direction:column}
.price.feat{border-color:var(--orange);box-shadow:0 14px 40px -16px rgba(249,115,22,.45);position:relative}
.price.feat::before{content:"\0e41\0e19\0e30\0e19\0e33";position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--orange);color:#fff;font-family:'Prompt';font-weight:600;font-size:12px;padding:4px 14px;border-radius:999px}
.price h3{font-size:18px}
.price .amt{font-family:'Prompt';font-weight:800;font-size:34px;margin:10px 0 2px}
.price .amt small{font-size:14px;font-weight:500;color:var(--gray-400)}
.price ul{list-style:none;margin:18px 0 22px;display:flex;flex-direction:column;gap:10px}
.price li{font-size:14px;color:var(--gray-500);display:flex;gap:8px;align-items:flex-start}
.price li svg{color:var(--orange);flex:none;margin-top:3px}
.price .btn{margin-top:auto;justify-content:center}

/* stats */
.stats{display:flex;gap:48px;justify-content:center;flex-wrap:wrap}
.stat{text-align:center}
.stat b{font-family:'Prompt';font-size:40px;font-weight:800;color:var(--orange);display:block;line-height:1}
.stat span{font-size:14px;color:var(--gray-500)}

/* blog cards */
.post{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--cream-200);transition:.18s;display:block}
.post:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.post .ph{aspect-ratio:16/10;overflow:hidden}
.post .ph img{width:100%;height:100%;object-fit:cover}
.post .body{padding:20px}
.post .tag{font-size:12px;color:var(--orange-600);font-weight:600;font-family:'Prompt'}
.post h3{font-size:17px;margin:8px 0;line-height:1.35}
.post .meta{font-size:12.5px;color:var(--gray-400)}
.chips{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:40px}
.chip{border:1px solid var(--cream-200);background:#fff;border-radius:999px;padding:8px 18px;font-family:'Prompt';font-weight:500;font-size:14px;color:var(--gray-500);cursor:pointer}
.chip.active,.chip:hover{background:var(--orange);color:#fff;border-color:var(--orange)}
.pager{display:flex;gap:8px;justify-content:center;margin-top:48px}
.pager a,.pager .page-numbers{width:42px;height:42px;border-radius:12px;border:1px solid var(--cream-200);background:#fff;display:grid;place-items:center;font-family:'Prompt';font-weight:600;color:var(--gray-500)}
.pager a.active,.pager a:hover,.pager .current{background:var(--orange);color:#fff;border-color:var(--orange)}

/* prose */
.prose{font-size:17px;color:#33302c}
.prose h2{font-size:26px;margin:38px 0 14px}
.prose h3{font-size:20px;margin:28px 0 10px}
.prose p{margin-bottom:18px}
.prose ul,.prose ol{margin:0 0 18px 22px}
.prose li{margin-bottom:8px}
.prose img{border-radius:var(--radius);margin:26px 0;width:100%}
.prose a{color:var(--orange-600);text-decoration:underline}
.prose blockquote{border-left:4px solid var(--orange);background:#fff;border-radius:0 14px 14px 0;padding:18px 22px;margin:24px 0;color:var(--gray-500)}
.callout{background:var(--orange-100);border-radius:16px;padding:20px 24px;margin:26px 0;display:flex;gap:14px}
.callout .ic{font-size:22px}
.callout b{font-family:'Prompt'}

/* author/meta */
.ameta{display:flex;align-items:center;gap:10px;color:var(--gray-400);font-size:14px;flex-wrap:wrap}
.author-box{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--cream-200);border-radius:var(--radius);padding:22px;margin:40px 0}
.author-box img{width:60px;height:60px;border-radius:50%;object-fit:cover;flex:none}
.author-box h4{font-size:16px}
.author-box p{font-size:14px;color:var(--gray-500)}

/* TOC */
.toc{background:#fff;border:1px solid var(--cream-200);border-radius:var(--radius);padding:24px;position:sticky;top:90px}
.toc h4{font-family:'Prompt';font-size:14px;margin-bottom:12px;color:var(--gray-400);text-transform:uppercase;letter-spacing:.04em}
.toc a{display:block;font-size:14.5px;color:var(--gray-500);padding:6px 0}
.toc a:hover{color:var(--orange-600)}

/* forms */
.field{margin-bottom:18px}
.field label{display:block;font-family:'Prompt';font-weight:500;font-size:14px;margin-bottom:7px}
.field input,.field textarea,.field select{width:100%;border:1px solid var(--cream-200);border-radius:14px;padding:13px 16px;font-family:inherit;font-size:16px;background:#fff;color:var(--ink)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px var(--orange-100)}
.field textarea{min-height:140px;resize:vertical}
.info-row{display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}
.info-row .ic{width:46px;height:46px;border-radius:14px;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center;flex:none}
.info-row .ic svg{width:22px;height:22px}
.info-row b{font-family:'Prompt';display:block;font-size:15px}
.info-row span{font-size:14.5px;color:var(--gray-500)}

/* app cta band */
.app-cta{background:var(--ink);color:#fff;border-radius:28px;padding:56px;text-align:center;position:relative;overflow:hidden}
.app-cta img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;z-index:0}
.app-cta .c{position:relative;z-index:2}
.app-cta h2{font-size:clamp(26px,3.2vw,36px);margin-bottom:12px}
.app-cta p{color:rgba(255,255,255,.82);font-size:17px;margin-bottom:28px}

/* FOOTER */
.site-footer{background:var(--cream-100);border-top:1px solid var(--cream-200);padding:56px 0 28px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
.foot-grid h4{font-family:'Prompt';font-size:14px;margin-bottom:14px}
.foot-grid a{display:block;font-size:14px;color:var(--gray-500);margin-bottom:9px}
.foot-grid a:hover{color:var(--orange-600)}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:40px;padding-top:24px;border-top:1px solid var(--cream-200);font-size:13px;color:var(--gray-400);flex-wrap:wrap;gap:12px}

/* ===== HOME hero (Variant D — full mobile) ===== */
.hero{padding:40px 0 70px;position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(32px,4.6vw,52px);font-weight:800;letter-spacing:-.01em}
.hero h1 .hl{color:var(--orange)}
.hero p.lead{font-size:18px;color:var(--gray-500);margin:20px 0 28px;max-width:500px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.blob{position:absolute;border-radius:50%;filter:blur(8px);opacity:.55;z-index:-1;width:460px;height:460px;background:var(--orange-200);top:-150px;right:-100px}
.blob.b2{width:300px;height:300px;background:#bbf7d0;opacity:.4;bottom:-120px;left:-90px;top:auto}
.proof{display:flex;align-items:center;gap:14px;margin-top:30px}
.avstack{display:flex}
.avstack img{width:42px;height:42px;border-radius:50%;border:2.5px solid var(--cream);object-fit:cover;margin-left:-12px}
.avstack img:first-child{margin-left:0}
.proof .ptxt b{font-family:'Prompt';font-size:15px;display:block}
.proof .ptxt .stars{color:var(--orange);font-size:13px;letter-spacing:1px}
.proof .ptxt small{color:var(--gray-500);font-size:13px}
/* app store badges */
.stores{margin-top:24px}
.stores .soon{display:inline-flex;align-items:center;gap:6px;font-family:'Prompt';font-weight:600;font-size:12px;color:var(--orange-600);background:var(--orange-100);padding:5px 13px;border-radius:999px;margin-bottom:12px}
.store-row{display:flex;gap:12px;flex-wrap:wrap}
.store{display:inline-flex;align-items:center;gap:10px;background:var(--ink);color:#fff;border-radius:13px;padding:9px 17px 9px 14px;position:relative;opacity:.6;cursor:not-allowed}
.store svg{width:24px;height:24px;flex:none}
.store small{display:block;font-size:9px;opacity:.85;line-height:1.1}
.store b{font-family:'Prompt';font-weight:600;font-size:15px;line-height:1.15}
.store .tag{position:absolute;top:-9px;right:-7px;background:var(--orange);color:#fff;font-family:'Prompt';font-weight:600;font-size:9px;padding:2px 7px;border-radius:999px;opacity:1}
/* device */
.stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:660px}
.deviceD{width:312px;height:632px;background:#1a1714;border-radius:46px;padding:11px;box-shadow:0 30px 60px -20px rgba(26,23,20,.4);position:relative;z-index:2}
.deviceD .notch{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:120px;height:26px;background:#1a1714;border-radius:0 0 16px 16px;z-index:6}
.scr{width:100%;height:100%;background:var(--cream);border-radius:36px;overflow:hidden;position:relative;display:flex;flex-direction:column}
.statusbar{display:flex;justify-content:space-between;align-items:center;padding:13px 22px 4px;font-family:'Prompt';font-weight:600;font-size:12px;color:var(--ink)}
.appbar{display:flex;align-items:center;gap:8px;padding:6px 16px 10px}
.appbar .loc{font-family:'Prompt';font-weight:600;font-size:13px;display:flex;flex-direction:column}
.appbar .loc small{font-weight:400;color:var(--gray-400);font-size:10px}
.appbar .logo{width:26px;height:26px;border-radius:7px}
.appbar .me{margin-left:auto;width:32px;height:32px;border-radius:50%;object-fit:cover}
.scrbody{flex:1;overflow:hidden;padding-bottom:6px}
.hbox{margin:0 14px;background:linear-gradient(135deg,#f97316,#ea580c);border-radius:20px;padding:16px 16px 18px;color:#fff}
.hbox .g{font-size:11px;opacity:.92}
.hbox .t{font-family:'Prompt';font-weight:700;font-size:16px;margin-top:1px}
.hbox .search{margin-top:12px;background:#fff;border-radius:12px;padding:10px 13px;color:var(--gray-500);font-size:12px;display:flex;align-items:center;gap:8px}
.pcats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:16px 12px 6px}
.pcat{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;color:var(--gray-500)}
.pcat .ic{width:40px;height:40px;border-radius:13px;background:#fff;border:1px solid var(--cream-200);display:grid;place-items:center}
.pcat .ic svg{width:23px;height:23px}
.promo{margin:8px 14px 0;border-radius:16px;overflow:hidden;position:relative;height:96px}
.promo img{width:100%;height:100%;object-fit:cover}
.promo .pv{position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,23,20,.72),transparent);display:flex;flex-direction:column;justify-content:center;padding:0 16px;color:#fff}
.promo .pv b{font-family:'Prompt';font-size:15px}
.promo .pv small{font-size:11px;opacity:.9}
.sect{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 8px}
.sect b{font-family:'Prompt';font-size:13px}
.sect a{font-size:11px;color:var(--orange-600);font-weight:600}
.pcard{margin:0 14px 9px;background:#fff;border:1px solid var(--cream-200);border-radius:14px;padding:9px;display:flex;gap:9px;align-items:center}
.pcard img{width:42px;height:42px;border-radius:11px;object-fit:cover}
.pcard .nm{font-family:'Prompt';font-weight:600;font-size:12px}
.pcard .mt{font-size:10px;color:var(--gray-400)}
.pcard .rt{margin-left:auto;text-align:right}
.pcard .rt .s{color:var(--orange-600);font-weight:700;font-size:11px}
.pcard .rt .c{display:inline-block;margin-top:3px;background:var(--orange);color:#fff;font-size:9px;font-family:'Prompt';font-weight:600;padding:3px 9px;border-radius:999px}
.bnav{position:absolute;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--cream-200);display:flex;justify-content:space-around;padding:9px 0 12px}
.bnav .n{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;color:var(--gray-400)}
.bnav .n svg{width:21px;height:21px}
.bnav .n.on{color:var(--orange-600)}
.float-badge{position:absolute;background:#fff;border-radius:13px;padding:9px 12px;box-shadow:var(--shadow);font-size:12px;font-family:'Prompt';font-weight:600;display:flex;align-items:center;gap:8px;z-index:5}
.float-badge img{width:26px;height:26px;border-radius:50%;object-fit:cover}

/* HOME categories (photo cards) */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cat{background:#fff;border:1px solid var(--cream-200);border-radius:var(--radius);overflow:hidden;transition:.18s;display:block}
.cat:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--orange-200)}
.cat .banner{height:118px;position:relative}
.cat .banner img{width:100%;height:100%;object-fit:cover}
.cat .banner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(26,23,20,.05),rgba(26,23,20,.32))}
.cat .badge{position:absolute;left:16px;bottom:-22px;width:52px;height:52px;border-radius:15px;background:#fff;box-shadow:var(--shadow);display:grid;place-items:center;z-index:2}
.cat .badge svg{width:30px;height:30px}
.cat .txt{padding:30px 18px 20px}
.cat h3{font-size:15.5px;font-weight:600}
.cat p{font-size:12.5px;color:var(--gray-400);margin-top:4px}
.cat.all{background:var(--orange);border-color:var(--orange);display:flex;align-items:center;justify-content:center;text-align:center;min-height:190px}
.cat.all h3{color:#fff;font-size:18px}
.cat.all p{color:rgba(255,255,255,.85)}
.cat.all .arrow{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;display:grid;place-items:center;margin:0 auto 12px;font-size:22px}

/* HOME gallery */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:170px;gap:14px}
.gtile{border-radius:18px;overflow:hidden;position:relative}
.gtile img{width:100%;height:100%;object-fit:cover;transition:.4s}
.gtile:hover img{transform:scale(1.06)}
.gtile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(26,23,20,.6))}
.gtile .cap{position:absolute;left:14px;bottom:12px;color:#fff;z-index:2;font-family:'Prompt';font-weight:600;font-size:13px}
.gtile .cap small{display:block;font-weight:400;opacity:.85;font-size:11px}
.gtile.big{grid-column:span 2;grid-row:span 2}

/* HOME why */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feat{display:flex;flex-direction:column;gap:10px}
.feat .ic{width:46px;height:46px;border-radius:14px;background:var(--orange-100);color:var(--orange-600);display:grid;place-items:center}
.feat .ic svg{width:24px;height:24px}
.feat h3{font-size:16px}
.feat p{font-size:14px;color:var(--gray-500)}

/* HOME audience split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.aud{border-radius:24px;padding:44px 40px;color:#fff;position:relative;overflow:hidden;min-height:300px;display:flex;flex-direction:column;justify-content:flex-end}
.aud img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.aud .ov{position:absolute;inset:0;z-index:1}
.aud.cust .ov{background:linear-gradient(120deg,rgba(234,88,12,.92),rgba(249,115,22,.78))}
.aud.prov .ov{background:linear-gradient(120deg,rgba(26,23,20,.92),rgba(68,64,60,.78))}
.aud .c{position:relative;z-index:2}
.aud h3{font-size:24px;margin-bottom:10px}
.aud p{font-size:15px;opacity:.95;margin-bottom:22px;max-width:340px}

/* provider quote */
.quote{background:var(--ink);color:#fff;border-radius:28px;padding:48px;display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.quote img{width:90px;height:90px;border-radius:50%;object-fit:cover;flex:none}
.quote .q{font-family:'Prompt';font-size:22px;line-height:1.4;font-weight:500}
.quote .who{margin-top:14px;color:var(--orange-200);font-size:14px}

/* services cards */
.svc{padding:0;overflow:hidden}
.svc .ph{height:150px;position:relative}
.svc .ph img{width:100%;height:100%;object-fit:cover}
.svc .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(26,23,20,.05),rgba(26,23,20,.34))}
.svc .badge{position:absolute;left:18px;bottom:-24px;width:56px;height:56px;border-radius:16px;background:#fff;box-shadow:var(--shadow);display:grid;place-items:center;z-index:2}
.svc .badge svg{width:32px;height:32px}
.svc .body{padding:36px 22px 24px}
.svc h3{font-size:18px}
.svc .body>p{font-size:13.5px;color:var(--gray-400);margin-top:4px}
.svc .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.svc .tags span{background:var(--cream-100);border:1px solid var(--cream-200);border-radius:999px;padding:6px 12px;font-size:13px;color:var(--gray-500)}
.svc.cta{background:var(--orange);border-color:var(--orange);display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;min-height:240px}
.svc.cta h3{color:#fff;font-size:20px;margin-bottom:8px}
.svc.cta p{color:rgba(255,255,255,.9);font-size:14px;margin-bottom:18px}

/* article / legal layouts */
.article-hero{aspect-ratio:21/9;border-radius:var(--radius);overflow:hidden;margin:8px 0 0;box-shadow:var(--shadow)}
.article-hero img{width:100%;height:100%;object-fit:cover}
.article-layout,.legal-layout{display:grid;gap:48px;align-items:start}
.article-layout{grid-template-columns:minmax(0,1fr) 250px}
.legal-layout{grid-template-columns:250px minmax(0,1fr)}
.feature-post{display:grid;grid-template-columns:1.1fr 1fr;background:#fff;border:1px solid var(--cream-200);border-radius:var(--radius);overflow:hidden;margin-bottom:44px}
.feature-post .img{min-height:320px;overflow:hidden}
.feature-post .img img{width:100%;height:100%;object-fit:cover}
.feature-post .body{padding:40px}
.feature-post h2{font-size:28px;margin:12px 0 14px;line-height:1.25}
.feature-post p{color:var(--gray-500);margin-bottom:20px}
.updated{display:inline-block;background:var(--cream-100);border:1px solid var(--cream-200);border-radius:999px;padding:6px 14px;font-size:13px;color:var(--gray-500);margin-top:10px}
.contact-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:start}
.map{margin-top:8px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--cream-200);aspect-ratio:16/10}
.map img{width:100%;height:100%;object-fit:cover}

@media(max-width:880px){
  .nav-links{display:none}
  .navtoggle{display:block}
  .grid-2,.grid-3,.grid-4,.pricing,.steps,.foot-grid,.frow,.hero-grid,.split,.contact-grid{grid-template-columns:1fr}
  .cat-grid,.why-grid{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}
  .gtile.big{grid-column:span 2;grid-row:span 1}
  .article-layout,.legal-layout{grid-template-columns:1fr}
  .feature-post{grid-template-columns:1fr}
  .frow.rev .ftext{order:0}
  .stage{order:-1;min-height:680px}
  .toc{position:static;margin-bottom:24px}
  section{padding:56px 0}
  .app-cta{padding:40px 24px}
}
