/* CPBDHost V8 — mobile-first compact refinement; built on top of V7. 
   All Admin-managed PHP data and original desktop sections remain unchanged. */
.cpbd-filter-short,.cpbd-process-mobile-copy{display:none}
html[data-cp-page="home"] .st-tech-filters .cpbd-filter-long{display:inline}

@media(max-width:700px){
 /* Comfortable but denser type and consistent whitespace, including low-end phones. */
 html[data-cp-page="home"] .cpbd-process-desktop-copy{display:none!important}
 html[data-cp-page="home"] .cpbd-process-mobile-copy{display:inline!important}
 html[data-cp-page="home"] body{font-size:13px;line-height:1.52;overflow-x:clip}
 html[data-cp-page="home"] .wrap{width:calc(100% - 24px)!important;max-width:100%!important}
 html[data-cp-page="home"] .st-section{padding-block:30px!important}
 html[data-cp-page="home"] .st-section-heading{margin-bottom:18px!important}
 html[data-cp-page="home"] .st-section-heading h2{font-size:clamp(25px,6.75vw,32px)!important;line-height:1.14!important;letter-spacing:-.045em!important}
 html[data-cp-page="home"] .st-section-heading>p{font-size:12px!important;line-height:1.48!important;max-width:350px!important;margin:10px auto 0!important}
 html[data-cp-page="home"] .st-eyebrow{font-size:8.5px!important;letter-spacing:.15em!important}
 html[data-cp-page="home"] .st-stats-section{padding-top:30px!important}
 html[data-cp-page="home"] .st-hero{min-height:560px!important}
 html[data-cp-page="home"] .st-hero h1{font-size:clamp(32px,8.3vw,43px)!important;line-height:1.12!important}
 html[data-cp-page="home"] .st-hero-inner{padding-top:64px!important}
 html[data-cp-page="home"] .st-hero p{font-size:12.5px!important;line-height:1.54!important}
 html[data-cp-page="home"] .st-service-grid{gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html[data-cp-page="home"] .st-service{min-height:215px!important;padding:14px 12px!important;border-radius:18px!important}
 html[data-cp-page="home"] .st-service-icon{margin-bottom:8px!important;width:36px!important;height:36px!important}
 html[data-cp-page="home"] .st-service h3{font-size:13px!important;line-height:1.25!important;margin:7px 0!important}
 html[data-cp-page="home"] .st-service p{font-size:10px!important;line-height:1.47!important}
 html[data-cp-page="home"] .st-service .st-more{font-size:10px!important}
 html[data-cp-page="home"] .st-service small{font-size:8px!important}

 /* Filter buttons: six circular controls in EXACTLY ONE row, no horizontal scroll. */
 html[data-cp-page="home"] #technologies .st-tech-filters{
   display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
   align-items:center!important;justify-items:center!important;
   width:min(calc(100% - 24px),480px)!important;max-width:100%!important;
   margin:16px auto 22px!important;gap:clamp(2px,1.1vw,6px)!important;
   padding:0 1px!important;overflow:visible!important;
 }
 html[data-cp-page="home"] #technologies .st-tech-filters button{
   box-sizing:border-box!important;min-width:0!important;width:min(100%,58px)!important;
   height:auto!important;aspect-ratio:1/1!important;min-height:0!important;
   padding:0 1px!important;margin:0!important;
   border-radius:50%!important;white-space:nowrap!important;
   font-size:clamp(8px,2.12vw,10px)!important;font-weight:780!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
   line-height:1!important;text-align:center!important;letter-spacing:-.03em!important;
   overflow:hidden!important;box-shadow:0 6px 16px rgba(13,30,55,.08)!important;
 }
 html[data-cp-page="home"] #technologies .st-tech-filters .cpbd-filter-long{display:none!important}
 html[data-cp-page="home"] #technologies .st-tech-filters .cpbd-filter-short{display:inline!important}
 html[data-cp-page="home"] #technologies .st-tech-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 3px!important;padding:0 3px!important}
 html[data-cp-page="home"] #technologies .st-tech-item{min-width:0!important;gap:6px!important}
 html[data-cp-page="home"] #technologies .st-tech-item strong{font-size:10px!important;line-height:1.2!important}
 html[data-cp-page="home"] #technologies .st-hex{width:clamp(69px,21vw,90px)!important;height:clamp(74px,22.4vw,96px)!important}
 html[data-cp-page="home"] #technologies .st-hex img{max-width:62%!important;max-height:62%!important}
 html[data-cp-page="home"] .cpbd-mobile-view-all:not([hidden]){margin-block:12px 2px!important;min-height:38px!important;font-size:11px!important;padding:8px 16px!important}

 /* Homepage package category tiles: THREE in one row; live prices stay database-driven. */
 html[data-cp-page="home"] #cpbd-categories .st-category-grid{
   display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:7px!important;align-items:stretch!important;
 }
 html[data-cp-page="home"] #cpbd-categories .st-cat{
   box-sizing:border-box!important;min-width:0!important;min-height:136px!important;
   padding:11px 7px 10px!important;border-radius:15px!important;
   display:flex!important;align-items:flex-start!important;gap:0!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
   box-shadow:0 8px 17px rgba(22,44,88,.08)!important;
 }
 html[data-cp-page="home"] #cpbd-categories .st-cat-icon{
   flex:0 0 auto!important;display:grid!important;place-items:center!important;
   height:37px!important;width:37px!important;border-radius:11px!important;margin:0 0 9px!important;
 }
 html[data-cp-page="home"] #cpbd-categories .st-cat-icon img{width:28px!important;height:28px!important;max-width:95%!important}
 html[data-cp-page="home"] #cpbd-categories .st-cat strong{
   display:block!important;font-size:11px!important;line-height:1.18!important;
   max-width:100%!important;overflow-wrap:anywhere!important;letter-spacing:-.03em!important;
 }
 html[data-cp-page="home"] #cpbd-categories .st-cat small{
   margin-top:6px!important;font-size:9px!important;line-height:1.25!important;max-width:100%!important;
   overflow-wrap:anywhere!important;
 }
 html[data-cp-page="home"] #cpbd-categories .st-cat i{right:9px!important;top:9px!important;font-size:12px!important}

 /* Static 2-column process overview: no horizontal carousel or touch trapping. */
 html[data-cp-page="home"] #process.st-process-section{overflow:visible!important}
 html[data-cp-page="home"] #process .st-process-carousel{
   display:block!important;overflow:visible!important;touch-action:pan-y!important;
   -webkit-overflow-scrolling:auto!important;padding:0!important;margin:0!important;
   scroll-snap-type:none!important;height:auto!important;outline-offset:3px!important;
 }
 html[data-cp-page="home"] #process .st-process-track{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:9px!important;width:100%!important;max-width:100%!important;
   padding:0!important;margin:0!important;
   transform:none!important;transition:none!important;
 }
 html[data-cp-page="home"] #process .st-process-card,
 html[data-cp-page="home"] #process .st-process-card.is-current{
   box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
   flex:initial!important;width:100%!important;min-width:0!important;min-height:0!important;
   height:auto!important;padding:14px 12px 15px!important;border-radius:16px!important;
   opacity:1!important;transform:none!important;filter:none!important;
   scroll-snap-align:none!important;transition:border-color .22s,box-shadow .22s!important;
   background:var(--st-glass)!important;border:1px solid var(--st-border)!important;
   box-shadow:0 5px 16px rgba(9,27,64,.07)!important;overflow:visible!important;
   cursor:default!important;color:var(--st-ink)!important;
 }
 html[data-cp-page="home"] #process .st-process-card:nth-child(6n+1){border-left:3px solid #3992d3!important}
 html[data-cp-page="home"] #process .st-process-card:nth-child(6n+2){border-left:3px solid #d35a92!important}
 html[data-cp-page="home"] #process .st-process-card:nth-child(6n+3){border-left:3px solid #3bbd99!important}
 html[data-cp-page="home"] #process .st-process-card:nth-child(6n+4){border-left:3px solid #9883dc!important}
 html[data-cp-page="home"] #process .st-process-card:nth-child(6n+5){border-left:3px solid #ed9d54!important}
 html[data-cp-page="home"] #process .st-process-card:nth-child(6n+6){border-left:3px solid #5c95c4!important}
 html[data-cp-page="home"] #process .st-process-card b,
 html[data-cp-page="home"] #process .st-process-card.is-current b{
   font-size:clamp(24px,7vw,32px)!important;font-weight:950!important;line-height:1!important;
   letter-spacing:-.07em!important;color:var(--st-accent)!important;margin:0 0 9px!important;
 }
 html[data-cp-page="home"] #process .st-process-card h3,
 html[data-cp-page="home"] #process .st-process-card.is-current h3{
   font-size:12px!important;line-height:1.24!important;color:var(--st-ink)!important;
   font-weight:850!important;margin:0 0 7px!important;overflow-wrap:anywhere!important;
 }
 html[data-cp-page="home"] #process .st-process-card p,
 html[data-cp-page="home"] #process .st-process-card.is-current p{
   display:block!important;max-height:none!important;height:auto!important;
   opacity:1!important;visibility:visible!important;overflow:visible!important;
   color:var(--st-muted)!important;font-size:10px!important;line-height:1.45!important;
   margin:0!important;padding:0!important;
 }
 html[data-cp-page="home"] #process .st-process-controls{display:none!important}

 /* Suppress this one redundant industry showcase on phones, not its database/category routes. */
 html[data-cp-page="home"] #industries.st-industries-section{display:none!important}

 /* Timeline: if animation or IO fails, all six cards are still visible and readable. */
 html[data-cp-page="home"] #benefits .st-timeline{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:9px!important;width:100%!important;max-width:100%!important;
   min-height:0!important;margin:0!important;overflow:visible!important;
 }
 html[data-cp-page="home"] #benefits .st-timeline-line,
 html[data-cp-page="home"] #benefits .st-timeline-dot{display:none!important}
 html[data-cp-page="home"] #benefits .st-timeline-item,
 html[data-cp-page="home"] #benefits .st-timeline-item.from-left,
 html[data-cp-page="home"] #benefits .st-timeline-item.from-right{
   display:block!important;grid-template-columns:none!important;grid-column:auto!important;
   position:relative!important;min-width:0!important;width:100%!important;
   min-height:0!important;margin:0!important;padding:0!important;top:auto!important;
   transform:none!important;opacity:1!important;visibility:visible!important;overflow:visible!important;
 }
 html[data-cp-page="home"] #benefits .st-timeline-item .st-timeline-card,
 html[data-cp-page="home"].cpbd-v6-reveal #benefits .st-timeline-item .st-timeline-card,
 html[data-cp-page="home"].cpbd-motion-v2 #benefits .st-timeline-item .st-timeline-card{
   display:block!important;position:relative!important;inset:auto!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:100%!important;min-height:0!important;box-sizing:border-box!important;
   padding:14px 12px!important;margin:0!important;text-align:left!important;
   background:var(--st-glass)!important;opacity:1!important;visibility:visible!important;
   transform:none!important;filter:none!important;will-change:auto!important;
   border-radius:16px!important;border:1px solid var(--st-border)!important;
   box-shadow:0 7px 17px rgba(15,35,70,.08)!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
   transition:border-color .2s,box-shadow .2s!important;
 }
 html[data-cp-page="home"] #benefits .st-timeline-item:nth-of-type(4n+1) .st-timeline-card{border-left:3px solid #4890d0!important}
 html[data-cp-page="home"] #benefits .st-timeline-item:nth-of-type(4n+2) .st-timeline-card{border-left:3px solid #d669a4!important}
 html[data-cp-page="home"] #benefits .st-timeline-item:nth-of-type(4n+3) .st-timeline-card{border-left:3px solid #44bca7!important}
 html[data-cp-page="home"] #benefits .st-timeline-item:nth-of-type(4n+4) .st-timeline-card{border-left:3px solid #e69d58!important}
 html[data-cp-page="home"] #benefits .st-timeline-card strong{font-size:27px!important;line-height:1!important}
 html[data-cp-page="home"] #benefits .st-timeline-card h3{font-size:12px!important;line-height:1.25!important;margin:8px 0 6px!important;color:var(--st-ink)!important}
 html[data-cp-page="home"] #benefits .st-timeline-card p{font-size:10px!important;line-height:1.44!important;margin:0!important;color:var(--st-muted)!important}
 /* Lightweight entrance pulse without ever hiding steps. */
 html[data-cp-page="home"] #process .st-process-card.cpbd-v8-appeared,
 html[data-cp-page="home"] #benefits .st-timeline-item.cpbd-v8-appeared .st-timeline-card{
   animation:cpbdV8Appear .46s ease-out both!important;
 }

 /* Existing Why Us / FAQ / Blog Cards get the compact reference look. */
 html[data-cp-page="home"] #why-us .st-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 html[data-cp-page="home"] #why-us .st-trust-grid article{min-height:0!important;padding:15px 12px!important;border-radius:15px!important;border-left:3px solid #e86c79!important}
 html[data-cp-page="home"] #why-us .st-trust-grid article:nth-child(even){border-left-color:#4d9fd0!important}
 html[data-cp-page="home"] #why-us .st-trust-grid article b{width:30px!important;height:30px!important}
 html[data-cp-page="home"] #why-us .st-trust-grid article h3{font-size:12px!important;margin:9px 0 6px!important;line-height:1.26!important}
 html[data-cp-page="home"] #why-us .st-trust-grid article p{font-size:10px!important;line-height:1.43!important}
 html[data-cp-page="home"] #faq .st-faq-answers details{padding:12px!important;border-radius:13px!important}
 html[data-cp-page="home"] #faq .st-faq-answers summary{font-size:12px!important}
 html[data-cp-page="home"] #faq .st-faq-answers p{font-size:11px!important;line-height:1.5!important}
 html[data-cp-page="home"] :is(.st-solution-showcase,.st-industry-art,.st-service,.st-cat,.st-timeline-card,.st-process-card){backface-visibility:hidden}
 html[data-cp-page="home"] .cpbd-work-viewport{touch-action:pan-x pan-y pinch-zoom!important}
}
@media(max-width:340px){
 html[data-cp-page="home"] #technologies .st-tech-filters{gap:2px!important}
 html[data-cp-page="home"] #technologies .st-tech-filters button{font-size:7.6px!important}
 html[data-cp-page="home"] #cpbd-categories .st-cat{min-height:134px!important;padding-inline:6px!important}
 html[data-cp-page="home"] #cpbd-categories .st-cat strong{font-size:10px!important}
 html[data-cp-page="home"] #process .st-process-card{padding:12px 10px!important}
}
@keyframes cpbdV8Appear{from{transform:translateY(9px);filter:brightness(.97)}to{transform:translateY(0);filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){
 html[data-cp-page="home"] #process .st-process-card.cpbd-v8-appeared,
 html[data-cp-page="home"] #benefits .st-timeline-item.cpbd-v8-appeared .st-timeline-card{animation:none!important}
}

/* Mobile detail pages: calmer text sizes / tighter sections like home, without hiding real content. */
@media(max-width:660px){
 html[data-cp-page="detail"] .cpbd-page-hero{padding:40px 0 42px!important}
 html[data-cp-page="detail"] .cpbd-page-hero h1{font-size:clamp(30px,8vw,42px)!important}
 html[data-cp-page="detail"] .cpbd-page-hero p{font-size:13px!important;line-height:1.55!important}
 html[data-cp-page="detail"] .cpbd-page-section{padding:38px 0!important}
 html[data-cp-page="detail"] .cpbd-page-section h2{font-size:clamp(23px,6.3vw,31px)!important}
 html[data-cp-page="detail"] .cpbd-page-card{padding:16px!important;border-radius:16px!important}
 html[data-cp-page="detail"] .cpbd-page-card h3{font-size:15px!important}
 html[data-cp-page="detail"] .cpbd-page-card p{font-size:12px!important;line-height:1.5!important}
}
