/* =========================================================
   v3.4.6 — shared header/footer alignment refresh
   - User-supplied full brand lockup (logo + tagline artwork)
   - Even navigation spacing
   - Clean mobile/desktop header composition
   - Footer reduced to brand only
========================================================= */

body .site-header{
  background:rgba(242,240,231,.98);
  border-bottom:1px solid var(--color-border);
}

body .site-header .site-header__inner{
  width:min(100%,var(--content-width));
  min-height:104px;
  margin:0 auto;
  padding:0 clamp(24px,3.2vw,54px);
  display:flex;
  align-items:center;
  gap:0;
}

body .site-header .brand-logo--lockup,
body .site-footer .brand-logo--lockup,
body .site-drawer .brand-logo--lockup{
  display:block;
  width:auto;
  line-height:1;
  flex:0 0 auto;
}

body .site-header .brand-logo__full,
body .site-footer .brand-logo__full,
body .site-drawer .brand-logo__full{
  display:block;
  width:220px;
  max-width:none;
  height:auto;
  object-fit:contain;
}

body .site-header .brand-logo--lockup{
  margin-right:auto;
}

/* One spacing rhythm across every text link in the desktop header. */
body .site-header .header-nav{
  display:block;
  justify-self:auto;
  margin:0;
  flex:0 0 auto;
}

body .site-header .header-nav__list{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:32px;
  margin:0;
  padding:0;
  font-size:17px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:.045em;
  white-space:nowrap;
}

body .site-header .header-nav__list a{
  padding:13px 0;
}

body .site-header .site-header__actions{
  display:flex;
  align-items:center;
  gap:16px;
  margin-left:32px;
  flex:0 0 auto;
}

body .site-header .header-consult{
  min-height:54px;
  padding:11px 22px;
  gap:14px;
  font-size:16px;
  line-height:1.15;
  font-weight:500;
  letter-spacing:.045em;
  white-space:nowrap;
}

body .site-header .menu-toggle{
  width:48px;
  height:48px;
  flex:0 0 48px;
}

body .site-drawer .brand-logo__full{
  width:min(220px,58vw);
}

/* Footer: brand only. No navigation and no CTA. */
body .site-footer{
  background:var(--color-bg);
  border-top:1px solid var(--color-border);
}

body .site-footer .site-footer__inner,
body .site-footer .site-footer__inner--brand-only{
  width:min(100%,var(--content-width));
  min-height:126px;
  margin:0 auto;
  padding:22px clamp(24px,3.2vw,54px);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:0;
}

body .site-footer .brand-logo__full{
  width:200px;
}

@media (max-width:1180px){
  body .site-header .site-header__inner{
    min-height:90px;
    padding-inline:24px;
  }
  body .site-header .brand-logo__full{width:190px}
  body .site-header .header-nav__list{gap:24px;font-size:15px}
  body .site-header .site-header__actions{margin-left:24px;gap:14px}
  body .site-header .header-consult{font-size:15px;padding-inline:18px;min-height:50px}
  body .site-header .menu-toggle{width:44px;height:44px;flex-basis:44px}
}

@media (min-width:621px) and (max-width:980px){
  body .site-header .site-header__inner{
    min-height:82px;
    padding-inline:20px;
  }
  body .site-header .brand-logo__full{width:170px}
  body .site-header .header-nav{display:none}
  body .site-header .site-header__actions{margin-left:auto}
  body .site-footer .site-footer__inner,
  body .site-footer .site-footer__inner--brand-only{min-height:110px;padding-inline:28px}
}

@media (max-width:620px){
  body .site-header{
    min-height:64px;
  }

  body .site-header .site-header__inner{
    width:100%;
    min-height:64px;
    padding:6px 10px;
    display:flex;
    align-items:center;
    gap:0;
  }

  body .site-header .brand-logo--lockup{
    margin-right:auto;
  }

  body .site-header .brand-logo__full{
    width:102px;
  }

  body .site-header .header-nav{
    display:block;
    margin:0;
    flex:0 1 auto;
    min-width:0;
  }

  body .site-header .header-nav__list{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:11px;
    line-height:1.1;
    font-weight:500;
    letter-spacing:.015em;
    white-space:nowrap;
  }

  body .site-header .header-nav__list .zs-menu-process{
    display:none;
  }

  body .site-header .header-nav__list a{
    padding:8px 0;
  }

  body .site-header .site-header__actions{
    margin-left:11px;
    gap:9px;
  }

  body .site-header .header-consult{
    min-height:42px;
    padding:8px 11px;
    gap:7px;
    font-size:11px;
    line-height:1.1;
    letter-spacing:.02em;
  }

  body .site-header .menu-toggle{
    width:42px;
    height:42px;
    flex:0 0 42px;
  }

  body .site-footer .site-footer__inner,
  body .site-footer .site-footer__inner--brand-only{
    min-height:92px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }

  body .site-footer .brand-logo__full{
    width:118px;
  }
}

@media (max-width:430px){
  body .site-header .brand-logo__full{width:96px}
  body .site-header .header-nav__list{gap:9px;font-size:10.5px}
  body .site-header .site-header__actions{margin-left:9px;gap:8px}
  body .site-header .header-consult{font-size:10.5px;padding-inline:10px}
  body .site-header .menu-toggle{width:40px;height:40px;flex-basis:40px}
}

@media (max-width:390px){
  body .site-header .site-header__inner{padding-inline:8px}
  body .site-header .brand-logo__full{width:88px}
  body .site-header .header-nav__list{gap:7px;font-size:9.7px}
  body .site-header .site-header__actions{margin-left:7px;gap:6px}
  body .site-header .header-consult{font-size:9.7px;padding-inline:8px;min-height:38px}
  body .site-header .menu-toggle{width:38px;height:38px;flex-basis:38px}
}

/* =========================================================
   v3.4.7 — drawer-only brand artwork
========================================================= */
body .site-drawer .brand-logo--drawer-art{
  display:block;
  width:auto;
  flex:0 0 auto;
  line-height:1;
}
body .site-drawer .brand-logo__drawer-image{
  display:block;
  width:178px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
@media (max-width:620px){
  body .site-drawer .brand-logo__drawer-image{width:154px;}
}
@media (max-width:390px){
  body .site-drawer .brand-logo__drawer-image{width:145px;}
}
