/* MAZAT V4: consistent brand shapes, typographic scale and mobile gutters */
:root{--mazat-teal:#00aca8;--mazat-ink:#071a20;--mazat-card-radius:12px;--mazat-button-radius:6px}
/* Cards, framed images and service modules */
.card,.service-item,.team-item,.project-item,.product-card,.feature-card,.solution-card,.audience-card,.protection-card,.protection-gallery-card,.mazat-problem-card,.mazat-slide-card,.waterproofing-system-card,.waterproofing-system-image,.full-image-wrapper,.hero-image,.portfolio-item,.gallery-item,.ultima-card,.ultima-solution-card,.testimonial-item,.benefit-card,.why-wetsuit-image,.technology-image{border-radius:var(--mazat-card-radius)!important;overflow:hidden}
.card img,.service-item img,.project-item img,.product-card img,.solution-card img,.audience-card img,.protection-card img,.mazat-slide-card img,.waterproofing-system-image img,.full-image-wrapper img,.hero-image img,.portfolio-item img,.gallery-item img{max-width:100%;object-fit:cover}
.btn,.hero-btn,.hero-secondary-btn,.landing-page-inspection-btn,.mazat-gallery-final a,.mazat-slide-arrow{border-radius:var(--mazat-button-radius)!important}
/* Keep headlines proportional to text blocks */
.hero-title{font-size:clamp(31px,3.25vw,51px)!important;line-height:1.13!important;font-weight:500!important;letter-spacing:-.035em!important;text-transform:none!important;max-width:650px}
.hero-description{font-size:clamp(14px,1.15vw,17px)!important;line-height:1.6!important}
.hero-image img{object-fit:cover}
/* Landing hero CTA uses minimal space while retaining comfortable touch targets */
.hero-actions{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;width:fit-content;max-width:100%}
.hero-actions .hero-btn{width:auto!important;flex:0 1 auto!important;min-width:0!important;padding:12px 18px!important;white-space:nowrap;font-weight:600}
.hero-actions .hero-secondary-btn{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px!important}
/* small accessible hero slider: transitions both headline and photo */
.mazat-hero-rotate img{transition:opacity .28s ease-in-out}.mazat-hero-rotate img.mazat-changing{opacity:.2}
.mazat-hero-rotate h1,.mazat-hero-rotate .hero-description{transition:opacity .28s ease-in-out}
@media(max-width:767px){
  /* 16px balanced edge breathing space, refined from prior 20px */
  .container,.container-fluid>.container,.hero-container,.landing-footer-container,.mazat-container{padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important}
  .container-fluid{padding-left:12px!important;padding-right:12px!important}
  .landing-page-navbar{padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important}
  .mazat-gallery-wrap{width:calc(100% - 32px)!important}
  .hero-title{font-size:clamp(29px,7vw,37px)!important;line-height:1.16!important}
  .hero-actions{gap:8px!important}
  .hero-actions .hero-btn{padding:11px 12px!important;font-size:12px!important}
  .hero-actions .hero-secondary-btn{width:42px!important;min-width:42px!important;height:42px!important;flex-basis:42px!important}
  .hero-content-inner{padding-right:0!important;padding-left:0!important}
}
@media(max-width:359px){.hero-actions .hero-btn{font-size:11px!important;padding:10px!important}}
@media(prefers-reduced-motion:reduce){.mazat-hero-rotate img,.mazat-hero-rotate h1,.mazat-hero-rotate .hero-description{transition:none!important}}


/* MAZAT V5 polish: rounded media, clearer client logos, refined mobile gutters, landing hero balance */
:root{--mazat-card-radius-v5:14px;--mazat-button-radius-v5:8px;}
/* Rounded media and boxes where a few sections were still sharp */
.mazat-about-split-left,
.mazat-about-split-left img,
.mazat-about-split-image,
.mazat-about-split-image img,
.feature .position-relative,
.feature .position-relative img,
.audience-card,
.audience-card img,
.protection-card,
.protection-image,
.protection-image img,
.ultima-service-card,
.ultima-solution-card,
.ultima-card,
.why-wetsuit-image,
.why-wetsuit-image img,
.technology-image,
.technology-image img,
.waterproofing-system-image,
.waterproofing-system-image img,
.reflex-banner-image,
.reflex-banner-image img,
.mazat-slide-card,
.mazat-slide-card img,
.mazat-problem-card,
.mazat-problem-card img,
.mazat-gallery-final,
.customer-page .logo-item,
img.rounded-mazat,
[class*="image"] img,
[class*="-image"] img{
  border-radius:var(--mazat-card-radius-v5)!important;
}
/* Keep section images crisp but never clipped awkwardly */
.mazat-about-split-left img,
.mazat-about-split-image img,
.feature .position-relative img,
.protection-image img,
.mazat-slide-card img,
.mazat-problem-card img{
  display:block;
  width:100%;
  height:auto;
}
/* Customer logos: increase logo legibility inside cards */
.customer-page .logo-item{
  border-radius:14px !important;
  padding:14px !important;
  height:148px !important;
}
.customer-page .logo-item img{
  width:auto !important;
  height:auto !important;
  max-width:78% !important;
  max-height:78px !important;
  object-fit:contain !important;
}
@media (max-width: 991.98px){
  .customer-page .logo-item{height:132px !important;padding:12px !important;}
  .customer-page .logo-item img{max-width:80% !important;max-height:66px !important;}
}
@media (max-width: 767.98px){
  .customer-page .logo-item{height:120px !important;padding:12px !important;}
  .customer-page .logo-item img{max-width:82% !important;max-height:58px !important;}
}
/* Landing hero: 60/40 split, smaller H1, more text room */
@media (min-width: 992px){
  .hero-inner{grid-template-columns:60% 40% !important;}
  .hero-content{padding-right:56px !important;}
  .hero-content-inner{max-width:760px !important;}
  .hero-title{font-size:clamp(30px,3vw,54px) !important;line-height:1.08 !important;max-width:760px !important;}
  .hero-description{max-width:590px !important;font-size:clamp(15px,1.15vw,18px) !important;}
}
/* Equal-height sliding cards */
.mazat-slide-track{align-items:stretch !important;}
.mazat-slide-card{display:flex !important;flex-direction:column !important;align-self:stretch !important;}
.mazat-slide-card > div{display:flex !important;flex-direction:column !important;flex:1 1 auto !important;}
.mazat-slide-card h4{min-height:2.6em;}
/* Hero trust points */
.hero-features .hero-flag{display:inline-block;font-size:16px;line-height:1;margin-right:7px;vertical-align:-1px;}
.hero-features span{display:inline-flex;align-items:center;gap:0;}
/* Mobile spacing + CTA alignment */
@media (max-width: 767.98px){
  .container,.container-fluid>.container,.hero-container,.landing-footer-container,.mazat-container{padding-left:max(22px,env(safe-area-inset-left)) !important;padding-right:max(22px,env(safe-area-inset-right)) !important;}
  .container-fluid{padding-left:18px !important;padding-right:18px !important;}
  .landing-page-navbar{padding-left:max(22px,env(safe-area-inset-left)) !important;padding-right:max(22px,env(safe-area-inset-right)) !important;}
  .mazat-gallery-wrap{width:calc(100% - 44px) !important;}
  .hero-content{padding-top:40px !important;padding-bottom:40px !important;}
  .hero-title{font-size:clamp(28px,8.9vw,48px) !important;line-height:1.08 !important;letter-spacing:-0.04em !important;}
  .hero-description{font-size:15px !important;line-height:1.55 !important;max-width:none !important;}
  .hero-actions{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;justify-content:flex-start !important;gap:10px !important;width:100% !important;}
  .hero-actions .hero-btn{width:auto !important;flex:1 1 auto !important;min-width:0 !important;padding:12px 14px !important;font-size:12px !important;white-space:nowrap !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{width:46px !important;min-width:46px !important;height:46px !important;flex:0 0 46px !important;justify-content:center !important;padding:0 !important;}
  .hero-features{display:grid !important;grid-template-columns:1fr !important;gap:9px !important;}
  .hero-features span{font-size:14px !important;}
  .hero-image{height:320px !important;}
  .mazat-slide-card{flex-basis:min(84%,315px) !important;}
  .mazat-slide-card img{height:170px !important;}
}
@media (max-width: 390px){
  .hero-actions .hero-btn{font-size:11px !important;padding:11px 12px !important;}
}


/* MAZAT V6 mobile-first landing refinements */
/* Hero CTA row on mobile */
@media (max-width: 767.98px){
  .hero-actions{display:grid !important;grid-template-columns:minmax(0,1fr) 52px !important;align-items:center !important;gap:12px !important;flex-wrap:nowrap !important;}
  .hero-actions .hero-btn{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:100% !important;min-width:0 !important;max-width:none !important;padding:13px 16px !important;border-radius:10px !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:52px !important;height:52px !important;min-width:52px !important;max-width:52px !important;flex:0 0 52px !important;border-radius:10px !important;margin:0 !important;}
}
/* Trust points as branded pills / mobile swipe row */
.hero-features{gap:12px !important;}
.hero-feature-pill{display:inline-flex !important;align-items:center !important;gap:10px !important;padding:12px 14px !important;border-radius:14px !important;background:#ffffff !important;border:1px solid rgba(2,176,168,0.15) !important;box-shadow:0 8px 18px rgba(0,0,0,0.04) !important;color:#173042 !important;white-space:nowrap !important;}
.hero-pill-icon{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:34px !important;height:34px !important;border-radius:10px !important;background:#02b0a8 !important;color:#fff !important;font-size:17px !important;flex:0 0 34px !important;}
.hero-pill-text{font-weight:600 !important;letter-spacing:-0.01em !important;}
@media (min-width: 768px){
  .hero-features{display:flex !important;flex-wrap:wrap !important;}
}
@media (max-width: 767.98px){
  .hero-features{display:flex !important;flex-wrap:nowrap !important;overflow-x:auto !important;overflow-y:hidden !important;padding-bottom:6px !important;scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;}
  .hero-features::-webkit-scrollbar{display:none;}
  .hero-feature-pill{scroll-snap-align:start;min-width:max-content;}
}
/* Social proof cards under landing hero */
.mazat-landing-proof{padding:34px 0 16px !important;background:#fff !important;}
.mazat-proof-head{text-align:center !important;max-width:760px !important;margin:0 auto 26px !important;}
.mazat-proof-eyebrow{font-size:13px !important;letter-spacing:0.18em !important;text-transform:uppercase !important;color:#02b0a8 !important;font-weight:700 !important;margin-bottom:8px !important;}
.mazat-proof-title{font-size:clamp(28px,3vw,42px) !important;line-height:1.1 !important;color:#082032 !important;font-weight:700 !important;margin:0 !important;}
.mazat-proof-track{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px !important;}
.mazat-proof-card{background:#f8fbfb !important;border:1px solid rgba(2,176,168,0.14) !important;border-radius:16px !important;padding:22px 20px !important;box-shadow:0 12px 26px rgba(0,0,0,0.04) !important;height:100% !important;}
.mazat-proof-card-top{display:flex !important;align-items:center !important;gap:14px !important;margin-bottom:14px !important;}
.mazat-proof-icon{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:48px !important;height:48px !important;border-radius:12px !important;background:#02b0a8 !important;color:#fff !important;font-size:22px !important;flex:0 0 48px !important;}
.mazat-proof-number{font-size:56px !important;line-height:0.95 !important;font-weight:800 !important;color:#0d2142 !important;letter-spacing:-0.04em !important;}
.mazat-proof-label{font-size:22px !important;line-height:1.15 !important;font-weight:700 !important;color:#0d2142 !important;text-transform:uppercase !important;margin:0 0 10px !important;}
.mazat-proof-desc{font-size:16px !important;line-height:1.65 !important;color:#4b5a6a !important;margin:0 !important;}
@media (max-width: 991.98px){
  .mazat-proof-track{grid-template-columns:repeat(3, minmax(260px, 1fr)) !important;overflow-x:auto !important;padding-bottom:8px !important;scroll-snap-type:x proximity;}
  .mazat-proof-card{scroll-snap-align:start;}
}
@media (max-width: 767.98px){
  .mazat-landing-proof{padding:24px 0 8px !important;}
  .mazat-proof-head{margin-bottom:16px !important;text-align:left !important;}
  .mazat-proof-title{font-size:28px !important;}
  .mazat-proof-track{display:flex !important;flex-wrap:nowrap !important;overflow-x:auto !important;gap:14px !important;padding:2px 0 8px !important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;}
  .mazat-proof-track::-webkit-scrollbar{display:none;}
  .mazat-proof-card{flex:0 0 85% !important;min-width:85% !important;padding:18px 16px !important;scroll-snap-align:start;}
  .mazat-proof-number{font-size:44px !important;}
  .mazat-proof-label{font-size:18px !important;}
  .mazat-proof-desc{font-size:14px !important;line-height:1.55 !important;}
}
/* Landing sliders: equal image sizes and card heights */
.mazat-slide-track{gap:16px !important;align-items:stretch !important;}
.mazat-slide-card{display:flex !important;flex-direction:column !important;height:auto !important;min-height:100% !important;border-radius:16px !important;overflow:hidden !important;}
.mazat-slide-card img{display:block !important;width:100% !important;height:220px !important;object-fit:cover !important;aspect-ratio:4/3 !important;background:#edf5f5 !important;}
.mazat-slide-card > div{display:flex !important;flex-direction:column !important;flex:1 1 auto !important;padding:18px !important;}
.mazat-slide-card h4{min-height:2.5em !important;line-height:1.25 !important;}
.mazat-slide-card p{margin-top:auto !important;}
@media (max-width: 767.98px){
  .mazat-slide-card{flex:0 0 82% !important;min-width:82% !important;}
  .mazat-slide-card img{height:180px !important;}
}
/* Slightly better mobile spacing overall */
@media (max-width: 767.98px){
  .container,.hero-container,.landing-footer-container{padding-left:max(24px,env(safe-area-inset-left)) !important;padding-right:max(24px,env(safe-area-inset-right)) !important;}
}

/* V7: stable, consistent campaign hero geometry across image/text slides. */
@media (min-width: 992px) {
 .mazat-hero-rotate.hero-section {height:clamp(560px,72vh,690px) !important;min-height:560px !important;max-height:690px !important;}
 .mazat-hero-rotate .hero-inner {grid-template-columns:minmax(0,60%) minmax(0,40%) !important;min-height:100%;}
 .mazat-hero-rotate .hero-content-inner {display:flex;flex-direction:column;justify-content:center;min-width:0;}
 .mazat-hero-rotate .hero-title {font-size:clamp(32px,3vw,54px) !important;line-height:1.12 !important;min-height:2.28em;display:flex;align-items:center;}
 .mazat-hero-rotate .hero-description {min-height:3.5em;}
 .mazat-hero-rotate .hero-image {height:100% !important;min-height:560px;}
 .mazat-hero-rotate .hero-image img {height:100% !important;width:100% !important;object-fit:cover !important;object-position:center !important;}
}
@media (min-width:768px) and (max-width:991.98px) {
 .mazat-hero-rotate .hero-content {min-height:0 !important;}
 .mazat-hero-rotate .hero-image {height:420px !important;}
}
@media (max-width:767.98px) {
 .mazat-hero-rotate.hero-section {height:auto !important;min-height:0 !important;max-height:none !important;}
 .mazat-hero-rotate .hero-title {font-size:clamp(29px,7.3vw,38px) !important;line-height:1.15 !important;min-height:3.5em;display:flex;align-items:center;}
 .mazat-hero-rotate .hero-description {min-height:5.4em;}
 .mazat-hero-rotate .hero-image {height:310px !important;min-height:310px !important;overflow:hidden;}
 .mazat-hero-rotate .hero-image img {width:100% !important;height:100% !important;object-fit:cover !important;}
}
@media (max-width:390px) {
 .mazat-hero-rotate .hero-title {font-size:clamp(27px,7vw,32px) !important;}
 .mazat-hero-rotate .hero-description {min-height:6.5em;}
}


/* V8: homeowner-friendly copy presentation + working FA icon styling */
.hero-btn{display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:10px !important;}
.hero-btn-icon{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:26px !important;height:26px !important;border-radius:999px !important;background:rgba(255,255,255,0.22) !important;color:#061822 !important;font-size:15px !important;flex:0 0 26px !important;}
.hero-btn-label{display:inline-block !important;}
.hero-secondary-btn{background:#ffffff !important;border:2px solid rgba(2,176,168,0.45) !important;box-shadow:0 10px 22px rgba(0,0,0,0.05) !important;}
.hero-call-icon{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:100% !important;height:100% !important;color:#028f8a !important;font-size:18px !important;}
.hero-feature-pill .hero-pill-icon{font-size:16px !important;}
.hero-feature-pill.feature-uae .hero-pill-icon{background:#02b0a8 !important;}
.hero-feature-pill.feature-usa .hero-pill-icon{background:#0e3a67 !important;}
.hero-feature-pill.feature-warranty .hero-pill-icon{background:#0d8f72 !important;}
.hero-feature-pill{padding:13px 16px !important;}
.hero-pill-text{font-weight:700 !important;}
.mazat-proof-icon{font-size:20px !important;}
@media (max-width:767.98px){
  .hero-btn-icon{width:24px !important;height:24px !important;font-size:14px !important;}
  .hero-actions .hero-btn{padding:14px 16px !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{width:54px !important;height:54px !important;min-width:54px !important;max-width:54px !important;}
  .hero-call-icon{font-size:19px !important;}
  .hero-feature-pill{padding:12px 14px !important;}
  .hero-pill-text{font-size:15px !important;}
}


/* V8.1: compact mobile CTA row + simpler trust labels */
.hero-btn-icon{background:transparent !important;color:#ffffff !important;width:auto !important;height:auto !important;flex:0 0 auto !important;border-radius:0 !important;}
.hero-btn-icon i{display:block !important;font-size:18px !important;line-height:1 !important;}
.hero-btn{gap:8px !important;}
.hero-btn-label{font-weight:700 !important;}
.hero-secondary-btn,.mazat-icon-call{border-color:rgba(2,176,168,0.55) !important;}
.hero-features{gap:10px !important;}
@media (max-width:767.98px){
  .hero-actions{width:min(100%, 320px) !important;grid-template-columns:minmax(0,1fr) 48px !important;gap:8px !important;}
  .hero-actions .hero-btn{padding:12px 12px !important;font-size:12px !important;gap:8px !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{width:48px !important;height:48px !important;min-width:48px !important;max-width:48px !important;flex:0 0 48px !important;}
  .hero-call-icon{font-size:18px !important;}
  .hero-btn-icon i{font-size:17px !important;}
  .hero-pill-text{font-size:14px !important;}
}
@media (max-width:390px){
  .hero-actions{width:min(100%, 300px) !important;grid-template-columns:minmax(0,1fr) 46px !important;gap:8px !important;}
  .hero-actions .hero-btn{padding:11px 10px !important;font-size:11px !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{width:46px !important;height:46px !important;min-width:46px !important;max-width:46px !important;}
  .hero-btn-icon i{font-size:16px !important;}
}


/* V8.2: safe mobile landing hero containment */
html,body{overflow-x:hidden !important;}
.mazat-hero-rotate .hero-inner,
.mazat-hero-rotate .hero-content,
.mazat-hero-rotate .hero-content-inner,
.mazat-hero-rotate .hero-image,
.mazat-hero-rotate .hero-title,
.mazat-hero-rotate .hero-description{min-width:0 !important;max-width:100% !important;}
.mazat-hero-rotate .hero-title,
.mazat-hero-rotate .hero-description{overflow-wrap:anywhere !important;word-break:normal !important;}

.hero-features-panel{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important;background:#ffffff !important;border:1px solid rgba(2,176,168,0.14) !important;border-radius:18px !important;padding:12px !important;box-shadow:0 12px 24px rgba(0,0,0,0.04) !important;max-width:100% !important;overflow:hidden !important;}
.hero-feature-item{display:flex !important;align-items:center !important;gap:12px !important;min-width:0 !important;background:#f8fbfb !important;border:1px solid rgba(2,176,168,0.12) !important;border-radius:14px !important;padding:12px 14px !important;}
.hero-pill-emoji{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:42px !important;height:42px !important;min-width:42px !important;border-radius:12px !important;background:#e9f8f8 !important;font-size:22px !important;line-height:1 !important;}
.hero-feature-item:nth-child(2) .hero-pill-emoji{background:#edf3fb !important;}
.hero-feature-item:nth-child(3) .hero-pill-emoji{background:#edf8f1 !important;}
.hero-feature-item .hero-pill-text{font-size:16px !important;font-weight:700 !important;line-height:1.25 !important;color:#183243 !important;white-space:normal !important;}

@media (min-width:768px){
  .hero-features-panel{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:767.98px){
  .container,.hero-container,.landing-footer-container,.mazat-container,.landing-page-navbar{padding-left:max(16px,env(safe-area-inset-left)) !important;padding-right:max(16px,env(safe-area-inset-right)) !important;}
  .mazat-hero-rotate .hero-title{font-size:clamp(24px,6.9vw,34px) !important;line-height:1.12 !important;letter-spacing:-0.035em !important;min-height:0 !important;}
  .mazat-hero-rotate .hero-description{font-size:16px !important;line-height:1.55 !important;min-height:0 !important;}
  .mazat-hero-rotate .hero-content{padding-top:28px !important;padding-bottom:22px !important;}
  .hero-actions{width:100% !important;max-width:320px !important;grid-template-columns:minmax(0,1fr) 48px !important;gap:10px !important;}
  .hero-actions .hero-btn{padding:12px 14px !important;font-size:12px !important;min-width:0 !important;}
  .hero-actions .hero-btn-label{font-size:12px !important;line-height:1.1 !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{width:48px !important;height:48px !important;min-width:48px !important;max-width:48px !important;}
  .hero-features-panel{grid-template-columns:1fr !important;gap:10px !important;padding:10px !important;}
  .hero-feature-item{padding:10px 12px !important;}
  .hero-feature-item .hero-pill-text{font-size:15px !important;}
  .hero-pill-emoji{width:38px !important;height:38px !important;min-width:38px !important;font-size:20px !important;}
  .mazat-hero-rotate .hero-image{height:auto !important;min-height:0 !important;aspect-ratio:4/3 !important;border-radius:18px !important;overflow:hidden !important;background:#ffffff !important;margin-top:6px !important;}
  .mazat-hero-rotate .hero-image img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center center !important;background:#ffffff !important;}
}
@media (max-width:390px){
  .mazat-hero-rotate .hero-title{font-size:clamp(23px,6.5vw,30px) !important;}
  .hero-actions{max-width:300px !important;grid-template-columns:minmax(0,1fr) 46px !important;gap:8px !important;}
  .hero-actions .hero-btn{padding:11px 12px !important;}
  .hero-actions .hero-secondary-btn,.hero-actions .mazat-icon-call{width:46px !important;height:46px !important;min-width:46px !important;max-width:46px !important;}
  .hero-feature-item .hero-pill-text{font-size:14px !important;}
}

/* V8.3 — focused landing-page corrections (desktop bleed, mobile cards) */
/* The three individual proof chips should not sit inside a visible fourth card. */
.mazat-hero-rotate .hero-features-panel{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
  overflow:visible !important;
  width:100% !important;
  max-width:100% !important;
}
.mazat-hero-rotate .hero-feature-item{
  box-shadow:0 4px 15px rgba(0,0,0,.045) !important;
  background:#fff !important;
  border-radius:12px !important;
}
/* On desktop, run the photo all the way to the right of the viewport. */
@media (min-width:992px){
  .mazat-hero-rotate .hero-inner{grid-template-columns:minmax(0,60%) minmax(0,40%) !important;}
  .mazat-hero-rotate .hero-image{
    width:calc(100% + (100vw - 100%) / 2) !important;
    max-width:none !important;
    margin-right:calc((100% - 100vw) / 2) !important;
    height:100% !important;
    min-width:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
  }
  .mazat-hero-rotate .hero-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:0 !important;
  }
}
/* Mobile: each trust point remains its own chip, in a horizontal swipe row. */
@media (max-width:767.98px){
  .mazat-hero-rotate .hero-features-panel{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    gap:9px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:2px 1px 12px !important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .mazat-hero-rotate .hero-features-panel::-webkit-scrollbar{display:none;}
  .mazat-hero-rotate .hero-feature-item{
    flex:0 0 auto !important;
    min-width:max-content !important;
    max-width:none !important;
    gap:8px !important;
    padding:10px 12px !important;
    white-space:nowrap !important;
    scroll-snap-align:start;
  }
  .mazat-hero-rotate .hero-feature-item .hero-pill-text{
    font-size:13px !important;
    white-space:nowrap !important;
  }
  .mazat-hero-rotate .hero-pill-emoji{
    width:32px !important;height:32px !important;min-width:32px !important;
    font-size:19px !important;
  }
  .mazat-hero-rotate .hero-image{
    width:100% !important;max-width:100% !important;
    margin:10px 0 0 !important;
    aspect-ratio:4/3 !important;
    height:auto !important;min-height:0 !important;
    border-radius:16px !important;
    overflow:hidden !important;
  }
  .mazat-hero-rotate .hero-image img{
    display:block !important;
    width:100% !important;height:100% !important;
    object-fit:contain !important;
    border-radius:16px !important;
  }
}

/* V8.4: final polish fixes requested on 2026-10-15 */
/* 1) About split image should fully occupy the full card height without blank grey area */
.mazat-about-split-grid{align-items:stretch !important;}
.mazat-about-split-left{
  height:auto !important;
  min-height:540px !important;
  align-self:stretch !important;
  display:flex !important;
}
.mazat-about-split-left img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.mazat-about-split-right{align-self:start !important;}
@media (max-width:1200px){
  .mazat-about-split-left{min-height:500px !important;}
}
@media (max-width:991.98px){
  .mazat-about-split-left{min-height:420px !important;height:420px !important;display:block !important;}
}
@media (max-width:767.98px){
  .mazat-about-split-left{min-height:340px !important;height:340px !important;}
  .mazat-about-split-left,
  .mazat-about-split-left img,
  .mazat-about-split-image,
  .mazat-about-split-image img{border-radius:18px !important;overflow:hidden !important;}
}
@media (max-width:480px){
  .mazat-about-split-left{min-height:300px !important;height:300px !important;}
}

/* 2) Client logo cards: make logos easier to read */
.customer-page .logo-item{
  height:164px !important;
  padding:16px !important;
}
.customer-page .logo-item img{
  max-width:88% !important;
  max-height:92px !important;
}
@media (max-width:991.98px){
  .customer-page .logo-item{height:144px !important;}
  .customer-page .logo-item img{max-width:86% !important;max-height:76px !important;}
}
@media (max-width:767.98px){
  .customer-page .logo-item{height:126px !important;}
  .customer-page .logo-item img{max-width:84% !important;max-height:62px !important;}
}

/* 3) Social-proof section needs more breathing room and consistent heading scale */
.mazat-landing-proof{
  padding:54px 0 42px !important;
}
.mazat-proof-head{
  margin:0 auto 34px !important;
}
.mazat-proof-title{
  font-size:clamp(30px,2.75vw,40px) !important;
  line-height:1.12 !important;
  letter-spacing:-0.03em !important;
}
.mazat-proof-track{gap:24px !important;}
.mazat-proof-card{padding:26px 24px !important;}
@media (max-width:767.98px){
  .mazat-landing-proof{padding:34px 0 28px !important;}
  .mazat-proof-head{margin:0 0 18px !important;}
  .mazat-proof-title{font-size:30px !important;}
  .mazat-proof-track{gap:14px !important;padding:2px 0 10px !important;}
  .mazat-proof-card{padding:20px 18px !important;}
}

/* 4) Landing hero image and trust chips should stay clean on mobile */
@media (max-width:767.98px){
  .mazat-hero-rotate .hero-image,
  .mazat-hero-rotate .hero-image img{
    border-radius:18px !important;
  }
  .mazat-hero-rotate .hero-image img{
    object-fit:contain !important;
    object-position:center center !important;
  }
  .mazat-hero-rotate .hero-features-panel{
    gap:10px !important;
    padding:2px 1px 8px !important;
  }
}

/* V8.5 — targeted landing mobile slide and social-proof refinements */
/* Fixed frame: identical geometry for every rotating image, no blank bands. */
@media (max-width: 991.98px) {
  .mazat-hero-rotate .hero-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }
  .mazat-hero-rotate .hero-image > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .mazat-hero-rotate .hero-image-overlay {
    border-radius: inherit !important;
  }
}
/* Restore generous whitespace around the complete social proof section. */
.mazat-landing-proof { padding-top: 76px !important; padding-bottom: 76px !important; }
.mazat-landing-proof .mazat-proof-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(27px, 2.8vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}
@media (max-width: 767.98px) {
  .mazat-landing-proof { padding-top: 52px !important; padding-bottom: 54px !important; }
  .mazat-landing-proof .mazat-proof-title { font-size: clamp(25px, 6.5vw, 32px) !important; }
}

/* MAZAT V8.7: increased customer-logo legibility, keeping card frames unchanged. */
.customer-page .logo-item img {
  width:auto !important;
  height:auto !important;
  max-width:94% !important;
  max-height:114px !important;
  object-fit:contain !important;
}
@media (max-width:991.98px){
  .customer-page .logo-item img{max-width:94% !important;max-height:100px !important;}
}
@media (max-width:767.98px){
  .customer-page .logo-item img{max-width:94% !important;max-height:82px !important;}
  .customer-page .logo-item{padding:9px !important;}
}
