
/* Phase 8 – Makazi Spaces visual refinement. Original template imagery and layout retained. */
:root{--makazi-ink:#202a2d;--makazi-muted:#697174;--makazi-gold:#b28a56;--makazi-cream:#f7f5f1;--makazi-white:#fff}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{color:var(--makazi-ink);-webkit-font-smoothing:antialiased}
::selection{background:var(--makazi-gold);color:#fff}
.header{z-index:1000}
.header.sticky-active{box-shadow:0 7px 28px rgba(23,30,32,.07)}
.primary-header-inner{min-height:88px}
.header-logo .makazi-brand{padding:5px 0}
.makazi-brand .brand-main{letter-spacing:2.8px}
.makazi-brand .brand-sub{letter-spacing:2px}
.header-menu-wrap .mobile-menu-items>ul>li>a{font-weight:600;transition:color .2s ease}
.header-menu-wrap .mobile-menu-items>ul>li>a:hover,.header-menu-wrap .mobile-menu-items ul li ul li a:hover{color:var(--makazi-gold)}
.header-menu-wrap .mobile-menu-items ul li ul{padding:12px 0;border-top:2px solid var(--makazi-gold);box-shadow:0 16px 40px rgba(0,0,0,.12)}
.header-menu-wrap .mobile-menu-items ul li ul li a{padding:11px 22px;line-height:1.45}
.tl-primary-btn{transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.tl-primary-btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(178,138,86,.2)}
.section-heading .sub-heading{letter-spacing:2.4px}
.section-heading .section-title{letter-spacing:-.035em}
.slider-content .antra-desc p{max-width:520px;line-height:1.8}
.slider-element{backdrop-filter:blur(8px)}
.section-padding{padding-top:115px;padding-bottom:115px}
.project-item,.service-item,.blog-item,.team-item{transition:transform .3s ease,box-shadow .3s ease}
.project-item:hover,.service-item:hover{transform:translateY(-5px)}
.project-item img,.service-item img{transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.project-item:hover img,.service-item:hover img{transform:scale(1.035)}
img{max-width:100%;height:auto}
.footer{background:#202a2d}
.footer a{transition:color .2s ease}
.footer a:hover{color:var(--makazi-gold)}
.zurihub-credit{letter-spacing:.45px}
.zurihub-whatsapp{display:flex;align-items:center;gap:9px;transition:transform .2s ease,box-shadow .2s ease}
.zurihub-whatsapp:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(37,211,102,.25)}
/* Consistent focus states for keyboard and touch accessibility */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(178,138,86,.65);outline-offset:3px}
/* Mobile refinements */
@media(max-width:991px){
 .primary-header-inner{min-height:72px}
 .header-right-wrap .header-contact{display:none}
 .header-btn-wrap{display:none}
 .header-menu-wrap{display:none}
 .slider-section .slider-item{min-height:690px}
 .slider-content{max-width:100%;padding-top:60px}
 .slider-content .section-title{font-size:clamp(38px,8vw,64px);line-height:1.05}
 .slider-content .antra-desc p{font-size:15px;max-width:440px}
 .slider-element-wrap{display:none}
 .section-padding{padding-top:78px;padding-bottom:78px}
}
@media(max-width:575px){
 .slider-section .slider-item{min-height:620px}
 .slider-content .section-title{font-size:clamp(34px,10vw,48px)}
 .slider-content .antra-desc p br{display:none}
 .zurihub-whatsapp{right:14px;bottom:14px;padding:11px 14px;font-size:12px}
 .section-padding{padding-top:64px;padding-bottom:64px}
 .header-logo .makazi-brand{min-width:118px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* Phase 10: accessibility and final static-site polish */
.skip-link{position:fixed;left:16px;top:-80px;z-index:99999;padding:12px 18px;background:#1d2924;color:#fff;border-radius:4px;font-weight:700;transition:top .2s ease}.skip-link:focus{top:16px;color:#fff;outline:3px solid #c8a96a;outline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b88a45!important;outline-offset:3px}
img{max-width:100%}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Phase 14: compact Makazi Spaces identity, reliable imagery and visible floating actions. */
.makazi-logo-lockup{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;line-height:1}
.makazi-mark{display:block;width:48px;height:48px;object-fit:contain;flex:0 0 auto}
.makazi-logo-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.makazi-logo-copy strong{font-family:var(--tl-ff-heading);font-size:21px;line-height:1;font-weight:800;letter-spacing:2.1px;color:#1d2924}
.makazi-logo-copy small{font-family:var(--tl-ff-body);font-size:10px;line-height:1;font-weight:700;letter-spacing:3.1px;color:#b28a56}
.header-logo .makazi-brand{display:inline-flex;align-items:center;padding:0;max-width:205px}
.header-logo .makazi-mark{width:48px;height:48px}
.header-logo .makazi-logo-copy strong{font-size:19px;letter-spacing:1.7px}
.header-logo .makazi-logo-copy small{font-size:9px;letter-spacing:2.7px}
.side-menu-logo,.side-menu-head .makazi-side-brand,.footer-logo{display:flex;align-items:center}
.makazi-side-brand .makazi-mark{width:48px;height:48px}
.makazi-side-brand .makazi-logo-copy strong{color:#1d2924}
.footer-logo .makazi-logo-lockup{padding:8px 12px;border-radius:8px;background:#f7f5f1}
.footer-logo .makazi-mark{width:44px;height:44px}
.footer-logo .makazi-logo-copy strong{color:#1d2924}
.footer-text{display:none!important}
.makazi-bg-ready{background-repeat:no-repeat}
img{opacity:1;visibility:visible}
.makazi-float-actions{position:fixed;right:24px;bottom:26px;z-index:1200;display:flex;flex-direction:column;gap:12px;align-items:center}
.makazi-float-btn{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff!important;text-decoration:none!important;box-shadow:0 8px 24px rgba(0,0,0,.22);border:2px solid rgba(255,255,255,.92);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.makazi-float-btn svg{width:27px;height:27px;display:block}
.makazi-float-btn.whatsapp{background:#25D366}
.makazi-float-btn.call{background:#b28a56}
.makazi-float-btn:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 12px 28px rgba(0,0,0,.25);filter:brightness(1.04)}
.makazi-float-btn:focus-visible{outline:3px solid #1d2924!important;outline-offset:4px}
#scroll-percentage{right:auto!important;left:24px!important;bottom:26px!important;width:48px!important;height:48px!important;z-index:1100}
#scroll-percentage.active{bottom:30px!important}
.zurihub-credit{position:relative;z-index:2;display:inline-block;margin:0 0 8px 24px;color:inherit;font-size:11px}
@media(max-width:991px){
 .primary-header-inner{min-height:72px}
 .header-logo .makazi-mark{width:42px;height:42px}
 .header-logo .makazi-logo-copy strong{font-size:17px}
 .makazi-float-actions{right:15px;bottom:16px;gap:10px}
 .makazi-float-btn{width:50px;height:50px}
 #scroll-percentage{left:15px!important;bottom:16px!important}
}
@media(max-width:380px){
 .header-logo .makazi-mark{width:36px;height:36px}
 .header-logo .makazi-logo-lockup{gap:7px}
 .header-logo .makazi-logo-copy strong{font-size:15px;letter-spacing:1.2px}
 .header-logo .makazi-logo-copy small{font-size:8px;letter-spacing:2px}
}

/* Remove oversized decorative site-name watermark and loader wordmark. */
.footer-text,.site-name{display:none!important}


/* Phase 15: homepage hierarchy and centered navigation refinements. */
@media(min-width:1200px){
  .header .primary-header-inner{position:relative;min-height:92px}
  .header .primary-header-inner .header-left-wrap{display:block!important;width:100%;min-height:92px}
  .header .primary-header-inner .header-logo{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:3}
  .header .primary-header-inner .header-menu-wrap{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:max-content;max-width:calc(100% - 360px)}
  .header .primary-header-inner .header-right-wrap{position:relative;z-index:4;margin-left:auto}
  .header .primary-header-inner .header-menu-wrap .mobile-menu-items>ul{justify-content:center}
}
@media(min-width:993px) and (max-width:1199px){
  .header .primary-header-inner .header-left-wrap{column-gap:22px}
  .header .primary-header-inner .header-menu-wrap{margin-left:auto}
}
.process-section .heading-space{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:22px;text-align:center}
.process-section .heading-space>.section-heading{width:100%;max-width:850px;text-align:center;margin:0 auto!important}
.process-section .heading-space>.section-heading .section-title{margin-left:auto;margin-right:auto;text-align:center}
.process-section .heading-space .process-desc{width:100%;max-width:680px;text-align:center;margin:0 auto}
.process-section .heading-space .process-desc p{margin:0 auto;text-align:center}
.about-text{display:none!important}
.antra-panoroma-area{display:none!important}
.header .makazi-logo-copy strong{color:#f6f4ec}
.header .makazi-logo-copy small{color:#d8b77d}
.header .makazi-mark{filter:drop-shadow(0 1px 2px rgba(0,0,0,.12))}
.header.makazi-on-light .makazi-logo-copy strong{color:#1d2924}
.header.makazi-on-light .makazi-logo-copy small{color:#a47b43}
.header.makazi-on-light .makazi-mark{filter:none}
@media(max-width:1199px){
 .header .primary-header-inner .header-left-wrap{width:auto}
 .header .primary-header-inner .header-logo{position:static;transform:none}
 .header .primary-header-inner .header-menu-wrap{position:static;transform:none;max-width:none}
}
@media(max-width:992px){
 .process-section .heading-space{gap:16px}
 .process-section .heading-space .process-desc{max-width:100%}
}

/* Keep the process image proportions close to the original template cards. */
.process-section .process-thumb{aspect-ratio:1.94;overflow:hidden}
.process-section .process-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.testimonial-section .testi-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}


/* Phase 16: centered hero composition and premium, aligned service cards. */
.slider-section .slider-item{position:relative}
.slider-section .slider-content-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:760px;
  padding:190px 0 150px!important;
  text-align:center;
}
.slider-section .slider-content{
  width:100%;
  max-width:1040px;
  margin:0 auto!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.slider-section .slider-content .section-heading{
  width:100%;
  max-width:1000px;
  margin:0 auto 30px!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.slider-section .slider-content .section-heading .sub-heading{
  margin-left:auto;
  margin-right:auto;
}
.slider-section .slider-content .section-heading .section-title{
  max-width:1000px;
  margin:0 auto;
  text-align:center;
  font-size:clamp(54px,7.4vw,108px);
  line-height:1.04;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.slider-section .slider-content .bottom-content{
  width:100%;
  max-width:760px;
  padding:0!important;
  margin:0 auto!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.slider-section .slider-content .bottom-content .antra-desc{
  max-width:720px;
  margin:0 auto 30px!important;
}
.slider-section .slider-content .bottom-content .antra-desc p{
  color:#fff;
  font-size:clamp(16px,1.35vw,19px);
  line-height:1.75;
  margin:0 auto;
  text-align:center;
  text-wrap:pretty;
}
.slider-section .slider-content .bottom-content .antra-btn{margin:0 auto}
.slider-section .slider-content .bottom-content .tl-primary-btn{margin:0 auto}
.service-section .row.gy-xl-0.gy-4{
  display:flex;
  align-items:stretch;
  row-gap:24px!important;
}
.service-section .row.gy-xl-0.gy-4>[class*="col-"]{
  display:flex;
  align-items:stretch;
}
.service-section .service-item{
  width:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  padding:34px 30px;
  border:1px solid rgba(30,42,36,.07);
  border-radius:18px;
  box-shadow:0 8px 30px rgba(25,35,30,.055);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.service-section .service-item:hover{
  transform:translateY(-7px);
  box-shadow:0 18px 42px rgba(25,35,30,.11);
  border-color:rgba(178,138,86,.45);
}
.service-section .service-item .service-top{
  min-height:118px;
  padding-bottom:22px;
  margin-bottom:22px;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between;
  gap:14px;
}
.service-section .service-item .service-top .title{
  flex:1 1 auto;
  font-size:clamp(21px,1.8vw,27px);
  line-height:1.16;
  letter-spacing:-.02em;
}
.service-section .service-item .service-top .title a{
  display:inline-block;
  text-decoration:none;
  text-wrap:balance;
}
.service-section .service-item .service-top .icon{
  width:58px;
  height:58px;
  min-width:58px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#f4f0e8;
}
.service-section .service-item .service-top .icon img{
  width:32px;
  height:32px;
  object-fit:contain;
}
.service-section .service-item p{
  margin-top:auto;
  font-size:15px;
  line-height:1.75;
  color:#666d68;
}
@media(min-width:1200px){
  .service-section .row.gy-xl-0.gy-4>[class*="col-"]{flex:0 0 25%;max-width:25%}
}
@media(min-width:993px) and (max-width:1199px){
  .service-section .row.gy-xl-0.gy-4>[class*="col-"]{flex:0 0 50%;max-width:50%}
  .slider-section .slider-content-wrap{min-height:680px}
}
@media(max-width:992px){
  .slider-section .slider-content-wrap{min-height:620px;padding:160px 0 100px!important}
  .slider-section .slider-content .section-heading .section-title{font-size:clamp(46px,8vw,68px)}
  .service-section .row.gy-xl-0.gy-4>[class*="col-"]{flex:0 0 50%;max-width:50%}
}
@media(max-width:767px){
  .slider-section .slider-content-wrap{min-height:590px;padding:145px 0 80px!important}
  .slider-section .slider-content .section-heading{margin-bottom:22px!important}
  .slider-section .slider-content .section-heading .section-title{font-size:clamp(39px,10vw,54px);line-height:1.08}
  .slider-section .slider-content .bottom-content .antra-desc{margin-bottom:24px!important}
  .slider-section .slider-content .bottom-content .antra-desc p{font-size:15px;line-height:1.65}
  .service-section .row.gy-xl-0.gy-4>[class*="col-"]{flex:0 0 100%;max-width:100%}
  .service-section .service-item{padding:28px 24px}
  .service-section .service-item .service-top{min-height:86px}
}
@media(prefers-reduced-motion:reduce){
 .service-section .service-item{transition:none}
 .service-section .service-item:hover{transform:none}
}


/* Phase 17: one static hero slide and a true equal-cell service card grid. */
.slider-section .antra-slider,
.slider-section .swiper-wrapper,
.slider-section .swiper-slide{width:100%;height:100%}
.slider-section .swiper-wrapper{display:flex}
.slider-section .swiper-slide{flex:0 0 100%;max-width:100%}
.slider-section .slider-item{width:100%;min-height:100%}

/* Explicit CSS Grid overrides Bootstrap column sizing to guarantee four equal
   cards in one desktop row, with consistent gutters and equal card heights. */
.service-section .container>.row.gy-xl-0.gy-4{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
  margin-left:0!important;
  margin-right:0!important;
}
.service-section .container>.row.gy-xl-0.gy-4>[class*="col-"]{
  display:flex!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  flex:none!important;
  padding-left:0!important;
  padding-right:0!important;
  align-items:stretch!important;
}
.service-section .container>.row.gy-xl-0.gy-4 .service-item{
  width:100%!important;
  min-height:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  box-sizing:border-box;
}
.service-section .container>.row.gy-xl-0.gy-4 .service-item .service-top{
  width:100%;
  min-height:118px!important;
  height:118px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 58px;
  align-items:center!important;
  justify-content:initial!important;
  gap:14px!important;
  padding:0 0 22px!important;
  margin:0 0 22px!important;
  box-sizing:border-box;
}
.service-section .container>.row.gy-xl-0.gy-4 .service-item .service-top .title{
  min-width:0;
  margin:0!important;
  font-size:clamp(20px,1.65vw,26px)!important;
  line-height:1.18!important;
  overflow-wrap:anywhere;
}
.service-section .container>.row.gy-xl-0.gy-4 .service-item .service-top .icon{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
}
.service-section .container>.row.gy-xl-0.gy-4 .service-item>p{
  flex:1 1 auto;
  margin:0!important;
  line-height:1.7;
}
@media(min-width:1200px){
  .service-section .container>.row.gy-xl-0.gy-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(min-width:768px) and (max-width:1199px){
  .service-section .container>.row.gy-xl-0.gy-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  .service-section .container>.row.gy-xl-0.gy-4{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  .service-section .container>.row.gy-xl-0.gy-4 .service-item{padding:26px 24px!important}
  .service-section .container>.row.gy-xl-0.gy-4 .service-item .service-top{height:auto!important;min-height:86px!important;grid-template-columns:minmax(0,1fr) 52px;padding-bottom:18px!important;margin-bottom:18px!important}
  .service-section .container>.row.gy-xl-0.gy-4 .service-item .service-top .icon{width:52px!important;height:52px!important;min-width:52px!important}
}


/* Phase 18: consistent portfolio project presentation. */
.project-section-inner .project-item{height:100%;display:flex;flex-direction:column}
.project-section-inner .project-item .project-img{position:relative;overflow:hidden;aspect-ratio:1.16;background:#f2f0eb;border-radius:10px}
.project-section-inner .project-item .project-img>a{display:block;width:100%;height:100%}
.project-section-inner .project-item .project-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.project-section-inner .project-item:hover .project-img img{transform:scale(1.045)}
.project-section-inner .project-item .project-content{display:flex;flex:1;flex-direction:column;gap:8px;padding:19px 2px 8px}
.project-section-inner .project-item .project-content .title{margin:0;font-size:clamp(19px,1.6vw,24px);line-height:1.25}
.project-section-inner .project-item .project-content>span{line-height:1.55;color:#777d78}
.project-section-inner .row.gy-5{row-gap:42px!important}
@media(max-width:767px){
 .project-section-inner .row.gy-5{row-gap:28px!important}
 .project-section-inner .project-item .project-content{padding-top:14px}
}



/* Phase 19: compact, level header controls with consistent vertical alignment. */
.header .primary-header-inner{
  display:flex;
  align-items:center!important;
}
.header .primary-header-inner .header-left-wrap,
.header .primary-header-inner .header-menu-wrap,
.header .primary-header-inner .header-right-wrap{
  align-items:center!important;
}
.header .primary-header-inner .header-right-wrap{
  display:flex!important;
  align-self:stretch;
  justify-content:flex-end;
  gap:14px!important;
  min-height:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.header .primary-header-inner .header-btn-wrap{
  display:flex;
  align-items:center;
  height:48px;
  margin:0!important;
  padding:0!important;
}
.header .primary-header-inner .header-right-wrap .header-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:48px!important;
  min-height:48px!important;
  padding:0 22px!important;
  margin:0!important;
  line-height:1!important;
  white-space:nowrap;
  box-sizing:border-box;
}
.header .primary-header-inner .header-right-wrap .sidebar-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:48px!important;
  margin:0!important;
  padding:0!important;
}
.header .primary-header-inner .header-right-wrap .sidebar-icon .sidebar-trigger{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0!important;
  border-radius:8px!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
.header .primary-header-inner .header-right-wrap .sidebar-icon .sidebar-trigger svg{
  display:block;
  width:16px;
  height:16px;
  flex:0 0 16px;
}
@media(max-width:767px){
  .header .primary-header-inner .header-right-wrap{gap:10px!important}
  .header .primary-header-inner .header-right-wrap .sidebar-icon .sidebar-trigger{
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important
  }
  .header .primary-header-inner .header-right-wrap .header-btn{
    height:44px!important;min-height:44px!important;padding:0 16px!important
  }
}
