/* MEZAN public website consistency pass. Load after the shared marketing chrome.
   Covers all 26 search-visible pages, with iPhone/Safari as a first-class target. */
html[data-search-locale] body{overflow-x:clip}
html[data-search-locale] header.mezan-site-header{
 min-height:76px!important;height:76px!important;padding-block:9px!important;
 background:linear-gradient(107deg,#0a2934,#123d41 70%,#174c47)!important;
 box-shadow:0 2px 9px rgba(5,38,40,.12)!important
}
/* Use the original logo artwork; never synthesize or stretch its proportions.
   The artwork is reduced, not enlarged, and sampled with sharper scaling. */
header.mezan-site-header .mezan-site-brand{width:154px;max-width:154px!important;min-height:53px;align-items:center}
header.mezan-site-header .mezan-brand-en{
 display:block;width:138px!important;height:auto!important;max-height:53px!important;
 object-fit:contain!important;object-position:left center;
 image-rendering:-webkit-optimize-contrast;filter:none!important;
 backface-visibility:hidden;transform:none!important
}
header.mezan-site-header .mezan-brand-ar{display:none;flex-direction:column;justify-content:center;
 align-items:flex-start;font:750 32px/1.0 'IBM Plex Sans Arabic',Tahoma,sans-serif;
 color:#f6fcf9;letter-spacing:-1px;white-space:nowrap}
header.mezan-site-header .mezan-brand-ar small{font-size:9px;font-weight:500;
 letter-spacing:.3px;color:#b1d7c9;margin-top:6px}
html[lang="ar"] header.mezan-site-header .mezan-brand-en{display:none}
html[lang="ar"] header.mezan-site-header .mezan-brand-ar{display:flex}
html[dir="rtl"] header.mezan-site-header .mezan-site-brand{direction:rtl!important}
header.mezan-site-header .mezan-site-actions{gap:9px}
header.mezan-site-header .mezan-public-language,
header.mezan-site-header .mezan-site-language{display:inline-flex!important;align-items:center;
 border:1px solid rgba(184,228,213,.43)!important;background:rgba(255,255,255,.035)!important;
 border-radius:7px!important;padding:3px!important;margin:0!important;min-height:38px}
header.mezan-site-header .mezan-public-language button{border-radius:5px!important;min-height:32px!important;
 font-size:11px!important;font-weight:650!important;padding:7px 9px!important}
header.mezan-site-header .mezan-site-language-action{
 min-height:32px!important;border:0!important;border-radius:5px!important;padding:7px 14px!important;
 background:transparent!important;font-size:11px!important;font-weight:700!important;color:#e8f5ee!important
}
header.mezan-site-header .mezan-site-language-action::before{content:"◎";font-size:14px;
 margin-inline-end:7px;vertical-align:middle;color:#c3e7d7}
header.mezan-site-header .mezan-site-login{min-height:38px;border-radius:5px!important}
header.mezan-site-header .mezan-site-trial{min-height:38px;border-radius:5px!important}
header.mezan-site-header nav.mezan-site-nav{gap:clamp(10px,1.25vw,22px)}
header.mezan-site-header .mezan-site-brand:hover img{transform:none!important;filter:none!important}
/* One visual baseline for the marketing page's main hero, regardless of legacy template. */
html[data-search-locale] main > section[data-mezan-hero]{
 background-color:#0e333d;min-height:515px!important;max-height:none;overflow:hidden
}
html[data-search-locale] main > .sig-hero[data-mezan-hero]{
 height:535px!important;min-height:535px!important
}
html[data-search-locale] main > .sig-hero[data-mezan-hero] .sig-content{
 top:49%;max-width:650px
}
html[data-search-locale] main > .hero[data-mezan-hero]{
 min-height:515px!important;height:auto!important;display:flex;align-items:center
}
html[data-search-locale] main > .hero[data-mezan-hero] .hero-inner{
 width:100%;max-width:1280px;padding:64px 5%!important;margin:0 auto
}
html[data-search-locale] main > .hero[data-mezan-hero] h1{
 font-size:clamp(38px,4.25vw,66px)!important;line-height:1.15!important;letter-spacing:-.03em!important;
 max-width:780px
}
html[data-search-locale] main > .intro[data-mezan-hero]{
 min-height:515px!important;height:auto!important
}
html[data-search-locale] main > .intro[data-mezan-hero] .intro-inner{
 position:relative;min-height:515px;max-width:1300px;padding:54px 5% 50px!important;
 display:flex;flex-direction:column;justify-content:center
}
html[data-search-locale] main > .intro[data-mezan-hero] .intro-inner > :not(.mezan-hero-modules){
 max-width:min(59%,690px)
}
html[data-search-locale] main > .intro[data-mezan-hero] h1{
 font-size:clamp(37px,4.0vw,59px)!important;line-height:1.16!important;
 letter-spacing:-.02em!important;margin:16px 0!important
}
html[data-search-locale] main > .intro[data-mezan-hero] p{
 line-height:1.8;margin-top:10px;margin-bottom:12px
}
html[data-search-locale] main > .intro[data-mezan-hero] .hero-points{
 margin:15px 0 16px;gap:8px
}
html[data-search-locale] main > .intro[data-mezan-hero] .hero-points span{
 border-radius:5px;padding:8px 11px
}
html[data-search-locale] main > .industry-hero[data-mezan-hero],
html[data-search-locale] main > .sector-hero[data-mezan-hero]{
 min-height:515px!important;height:auto!important;grid-template-columns:55% 45%
}
html[data-search-locale] main > .industry-hero[data-mezan-hero] .industry-hero-copy{
 padding:54px 7% 54px max(5vw,25px)!important;min-height:515px
}
html[data-search-locale] main > .industry-hero[data-mezan-hero] .industry-hero-image{
 min-height:515px;background-size:cover;background-position:center
}
html[data-search-locale] main > .sector-hero[data-mezan-hero] .sector-hero-inner{
 padding:58px 8% 55px max(5vw,25px)!important;min-height:515px;
 display:flex;flex-direction:column;justify-content:center
}
html[data-search-locale] main > .sector-hero[data-mezan-hero] .sector-art{
 min-height:515px!important;opacity:1
}
html[data-search-locale] main > .appdir-intro[data-mezan-hero]{
 min-height:515px!important;display:flex;align-items:center;padding:40px 0!important
}
html[data-search-locale] main > .appdir-intro[data-mezan-hero] .appdir-container{
 width:100%;padding-block:0
}
html[data-search-locale] main > .appdir-intro[data-mezan-hero] h1{
 font-size:clamp(38px,4.1vw,61px)!important;max-width:830px
}
/* Apps illustration is informative and schematic, not a fictional customer dashboard. */
.mezan-hero-modules{
 position:absolute;right:5%;top:50%;transform:translateY(-50%);
 width:34%;max-width:405px;min-width:320px;
 padding:22px;border:1px solid rgba(167,226,205,.26);border-radius:14px;
 background:linear-gradient(150deg,rgba(46,104,95,.48),rgba(8,41,49,.93));
 box-shadow:0 23px 70px rgba(3,24,31,.24);color:#eef9f5
}
.mezan-hero-modules-head{display:flex;align-items:center;justify-content:space-between;
 font-size:11px;letter-spacing:2px;font-weight:800;padding:3px 3px 18px;
 border-bottom:1px solid rgba(208,243,229,.17)}
.mezan-hero-dot{width:9px;height:9px;border-radius:50%;background:#a1e2ca}
.mezan-hero-modules-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:18px 0 8px}
.mezan-hero-modules-grid>div{min-height:116px;background:rgba(255,255,255,.065);
 border:1px solid rgba(200,232,221,.14);border-radius:9px;
 display:flex;flex-direction:column;gap:5px;padding:14px 15px}
.mezan-hero-module-icon{display:grid;place-items:center;width:30px;height:30px;
 border-radius:7px;color:#b1ecd5;background:rgba(171,223,207,.10);font-size:20px}
.mezan-hero-modules-grid strong{font-size:13px;line-height:1.3}
.mezan-hero-modules-grid small{color:#9fc9bf;font-size:10px}
.mezan-hero-modules-note{color:#b6d7cc!important;font-size:11px!important;
 line-height:1.8!important;margin:11px 3px 0!important}
html[dir="rtl"] .mezan-hero-modules{right:auto;left:5%}
html[dir="rtl"] main > .intro[data-mezan-hero] .intro-inner > :not(.mezan-hero-modules){
 margin-inline-end:auto
}
/* Visible contact routes; avoid linking to inactive official mailbox. */
.mezan-contact-offices{background:#eef6f1;border-bottom:1px solid #d9e9dd}
.mezan-contact-offices-inner{max-width:1200px;margin:0 auto;display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:24px 5%}
.mezan-contact-offices-inner>div{display:flex;flex-direction:column;align-items:flex-start;
 justify-content:center;gap:6px;padding:17px 20px;background:#fff;border:1px solid #d9e9df;border-radius:8px}
.mezan-contact-offices-inner span{font-size:11px;font-weight:650;color:#4c7b71}
.mezan-contact-offices-inner a,.mezan-contact-offices-inner strong{
 color:#154d45;font-size:16px;font-weight:750;text-decoration:none;direction:ltr;unicode-bidi:isolate}
.mezan-contact-offices-inner a:hover{text-decoration:underline;text-underline-offset:4px}
.mezan-site-footer-contact .mezan-site-contact-numbers{
 display:grid;gap:9px;margin:11px 0 8px;width:100%
}
.mezan-site-footer-contact .mezan-site-contact-numbers a{
 width:100%;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;
 padding:7px 0;border-bottom:1px solid rgba(184,226,205,.2);
 text-decoration:none!important
}
.mezan-site-footer-contact .mezan-site-contact-numbers a span{color:#a4ccc0;font-size:10px}
.mezan-site-footer-contact .mezan-site-contact-numbers a strong{font-size:13px!important;color:#e6fff4}
@media(max-width:1060px){
 html[data-search-locale] main > .intro[data-mezan-hero] .intro-inner > :not(.mezan-hero-modules){max-width:100%}
 .mezan-hero-modules{display:none}
 html[data-search-locale] main > .intro[data-mezan-hero] .intro-inner{min-height:515px}
}
@media(max-width:760px){
 html[data-search-locale] main > section[data-mezan-hero]{height:auto!important;min-height:0!important}
 html[data-search-locale] main > .sig-hero[data-mezan-hero]{height:clamp(580px,80svh,700px)!important;min-height:580px!important}
 html[data-search-locale] main > .hero[data-mezan-hero]{min-height:0!important}
 html[data-search-locale] main > .hero[data-mezan-hero] .hero-inner{padding:67px 6%!important}
 html[data-search-locale] main > .intro[data-mezan-hero] .intro-inner{
   min-height:0!important;padding:66px 6% 74px!important
 }
 html[data-search-locale] main > .intro[data-mezan-hero] h1{font-size:clamp(37px,8.6vw,54px)!important}
 html[data-search-locale] main > .industry-hero[data-mezan-hero],
 html[data-search-locale] main > .sector-hero[data-mezan-hero]{display:flex;flex-direction:column}
 html[data-search-locale] main > .industry-hero[data-mezan-hero] .industry-hero-copy,
 html[data-search-locale] main > .sector-hero[data-mezan-hero] .sector-hero-inner{
   padding:57px 6% 48px!important;min-height:0!important
 }
 html[data-search-locale] main > .industry-hero[data-mezan-hero] .industry-hero-image{
   min-height:220px!important;aspect-ratio:16/8
 }
 html[data-search-locale] main > .sector-hero[data-mezan-hero] .sector-art.has-photo{
   display:block!important;min-height:220px!important;width:100%;aspect-ratio:16/8
 }
 html[data-search-locale] main > .appdir-intro[data-mezan-hero]{min-height:0!important;padding:57px 0!important}
 .mezan-contact-offices-inner{grid-template-columns:1fr;padding:18px 5%}
}
@media(max-width:620px){
 html[data-search-locale] header.mezan-site-header{height:69px!important;min-height:69px!important;padding:8px 13px!important}
 header.mezan-site-header .mezan-site-brand{width:115px;max-width:115px!important;min-height:45px}
 header.mezan-site-header .mezan-brand-en{width:112px!important;height:auto!important}
 header.mezan-site-header .mezan-brand-ar{font-size:27px}
 header.mezan-site-header .mezan-brand-ar small{font-size:8px}
 header.mezan-site-header .mezan-site-actions{gap:5px}
 header.mezan-site-header .mezan-site-login{padding:9px!important}
 header.mezan-site-header .mezan-site-language-action{padding:7px 8px!important}
 header.mezan-site-header .mezan-public-language button{padding:7px!important}
 html[data-search-locale] .mezan-contact-offices-inner>div{padding:14px}
}
/* Honour iOS Reduce Motion, and no hover-based animation for touch users. */
@media(prefers-reduced-motion:reduce){
 .mezan-hero-modules *,.mezan-contact-offices *{animation:none!important;transition:none!important}
}
