/* Zentech Digital v1.0 RC1 — frozen-system production QA overrides */
:root{--zd-logo-width:118px;--zd-logo-mobile-width:96px;--zd-logo-height:32px;--zd-logo-mobile-height:26px}
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,svg,video,iframe{max-width:100%;height:auto}

/* One logo system across React, static, funnel, blog, legal, and thank-you pages. */
header a.brand,header .brand,header a[class*="items-center"]:has(>img[alt="Zentech Digital"]){display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;min-width:0!important}
header img[alt="Zentech Digital"],
header img[src$="/images/project_logo.png"],
.site-header .brand>img,
.top .brand>img,
.topbar .brand>img{
  display:block!important;
  width:var(--zd-logo-width)!important;
  min-width:var(--zd-logo-width)!important;
  max-width:var(--zd-logo-width)!important;
  height:var(--zd-logo-height)!important;
  max-height:var(--zd-logo-height)!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
header,.site-header,.top,.topbar{overflow:visible!important}
header>div,.site-header .header-inner,.top .top-inner,.topbar .topbar-inner{min-width:0!important}

/* Stable responsive rhythm and controls. */
button,.btn,.top-cta,a[class*="button"],a[class*="btn"]{max-width:100%;text-align:center;line-height:1.2}
h1,h2,h3,p,li,a,span{overflow-wrap:normal;word-break:normal;hyphens:none}
.card,.blog-card,.feature-card,.pricing-card,.report-card{min-width:0}

@media(max-width:640px){
  :root{--zd-logo-width:96px;--zd-logo-height:26px}
  header img[alt="Zentech Digital"],header img[src$="/images/project_logo.png"],.site-header .brand>img,.top .brand>img,.topbar .brand>img{
    width:var(--zd-logo-mobile-width)!important;
    min-width:var(--zd-logo-mobile-width)!important;
    max-width:var(--zd-logo-mobile-width)!important;
    height:var(--zd-logo-mobile-height)!important;
    max-height:var(--zd-logo-mobile-height)!important;
  }
  header>div,.site-header .header-inner,.top .top-inner,.topbar .topbar-inner{gap:10px!important;padding-left:14px!important;padding-right:14px!important}
  .top-cta,header a[class*="rounded-full"]{font-size:12px!important;padding:10px 12px!important;white-space:nowrap!important}
  section,main{min-width:0}
  .grid{min-width:0}
}
