/* Bayan v15 final consistency polish */
.site-head .head-in{min-height:92px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:22px;}
.site-head .brand{display:flex;align-items:center;flex:0 0 auto;}
.site-head .brand-img{width:150px;height:auto;max-height:58px;object-fit:contain;}
.site-head .main-nav>ul{display:flex;align-items:center;justify-content:center;gap:clamp(16px,1.7vw,28px);flex-wrap:nowrap;}
.site-head .main-nav>ul>li>a{white-space:nowrap;}
.site-head .head-actions{display:flex;align-items:center;gap:12px;white-space:nowrap;}
.site-head .btn-wa-head{min-width:150px;justify-content:center;}
.page-hero-art img,.page-hero--premium .page-hero-art img,.service-photo-v131 img,.industry-card__media,.service-card-photo-v131 img{object-position:center center;}
.page-hero-art,.page-hero--premium .page-hero-art,.service-photo-v131{overflow:hidden;}
.industry-card__media,.service-card-photo-v131 img{display:block;width:100%;}
@media(max-width:1180px){.site-head .head-in{grid-template-columns:auto 1fr auto;}.site-head .main-nav{display:none}.site-head .head-actions .tel-link,.site-head .head-actions .btn-wa-head{display:none}.site-head .nav-toggle{display:inline-flex}}
@media(max-width:640px){.site-head .head-in{min-height:82px;gap:12px}.site-head .brand-img{width:132px}.site-head .lang-switch{padding:.75rem .9rem}}

/* Home industry cards: visual cue without overpowering text */
.sec-ind .industry-card{display:flex;flex-direction:column;align-items:stretch;padding:18px;overflow:hidden;}
.sec-ind .industry-card__media{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center center;border-radius:13px;margin:6px 0 15px;box-shadow:0 7px 18px rgba(10,31,60,.08);}
.sec-ind .industry-card>div{margin-top:0;}
@media(max-width:767px){.sec-ind .industry-card__media{height:auto;aspect-ratio:2/1;margin-bottom:12px}.sec-ind .industry-card{padding:15px}}

/* v15.2 header stability and no-overlap fix */
.site-head .wrap.head-in{width:min(100% - 2rem,1500px);}
.site-head .head-in{grid-template-columns:150px minmax(0,1fr) auto auto;gap:16px;}
.site-head .main-nav>ul{gap:clamp(8px,1vw,16px);}
.site-head .main-nav>ul>li>a{padding:.68rem .54rem;font-size:.75rem;}
.lang-ar .site-head .main-nav>ul>li>a{font-size:.84rem;padding-inline:.48rem;}
.site-head .head-actions{gap:8px;}
.site-head .head-actions .btn-wa-head{min-width:138px;padding-inline:1rem;}
.site-head .lang-switch{flex:0 0 auto;}
.site-head .tel-link{flex:0 0 auto;}
@media(max-width:1420px){
  .site-head .head-in{grid-template-columns:auto 1fr auto;gap:14px;}
  .site-head .main-nav{display:none!important;}
  .site-head .head-actions .tel-link,.site-head .head-actions .btn-wa-head{display:none!important;}
  .site-head .nav-toggle{display:inline-flex!important;}
}
@media(max-width:640px){
  .site-head .wrap.head-in{width:min(100% - 1.2rem,1500px);}
  .site-head .brand-img{width:124px;}
}
/* real image treatment for formerly empty hero placeholders */
.page-hero-art.page-hero-art--photo{padding:0!important;overflow:hidden;background:none!important;border:0!important;}
.page-hero-art.page-hero-art--photo::before,.page-hero-art.page-hero-art--photo::after{display:none!important;content:none!important;}
.page-hero-art.page-hero-art--photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;border-radius:inherit;}

/* v15.3 — final header spacing + image framing polish */
@media (min-width:1361px){
  .site-head .wrap.head-in{
    width:min(100% - 2.25rem,1540px);
    display:flex!important;
    align-items:center;
    gap:12px!important;
  }
  .site-head .brand{flex:0 0 auto;margin:0!important;}
  .site-head .brand-img{width:142px!important;max-height:54px!important;}
  .site-head .main-nav{
    display:block!important;
    flex:1 1 auto;
    min-width:0;
    margin-inline-start:4px;
    margin-inline-end:auto;
  }
  .site-head .main-nav>ul{
    justify-content:flex-start!important;
    gap:clamp(10px,.9vw,18px)!important;
  }
  .site-head .head-actions{flex:0 0 auto;gap:8px!important;}
}

/* Match the source image ratio so images are not arbitrarily cropped */
.page-head.page-hero--premium .page-hero-art{
  aspect-ratio:8 / 5!important;
}
.page-head.page-hero--premium .page-hero-art img{
  object-fit:cover!important;
  object-position:center center!important;
}

/* Industry cards: preserve the full 8:5 composition */
.industry-card__media,
.sec-ind .industry-card__media{
  width:100%!important;
  height:auto!important;
  aspect-ratio:8 / 5!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Service cards use their native 4:3 composition instead of short random crops */
.service-card-photo-v131{
  height:auto!important;
  aspect-ratio:4 / 3!important;
}
.service-card-photo-v131 img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Keep card images supportive, not dominant */
.service-priority-card .service-card-photo-v131,
.service-page .sec-services .svc-card .service-card-photo-v131{
  max-height:190px;
}
@media (max-width:767px){
  .service-priority-card .service-card-photo-v131,
  .service-page .sec-services .svc-card .service-card-photo-v131{max-height:155px;}
}

/* v15.4 premium industry card image system */
.industry-card__media,.sec-ind .industry-card__media{width:100%;height:auto!important;aspect-ratio:2/1!important;object-fit:cover!important;object-position:center center!important;}
