.institutional-gallery{
  padding:110px 34px;
  background:
  linear-gradient(180deg,#ffffff,#faf7fb);
}

.gallery-header{
  max-width:900px;
  margin:auto;
  text-align:center;
  margin-bottom:60px;
}

.gallery-header span{
  color:#6f135b;
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
}

.gallery-header h2{
  font-size:56px;
  margin:18px 0;
  letter-spacing:-2px;
  color:#17121a;
}

.gallery-header p{
  color:#766e79;
  font-size:18px;
  line-height:1.8;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
  max-width:1400px;
  margin:auto;
}

.gallery-card{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  min-height:340px;
  grid-column:span 4;
  box-shadow:0 24px 60px rgba(39,20,39,.12);
}

.gallery-card.large{
  grid-column:span 8;
  min-height:520px;
}

.gallery-card.wide{
  grid-column:span 8;
}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:1.2s;
}

.gallery-card:hover img{
  transform:scale(1.08);
}

.overlay{
  position:absolute;
  inset:0;
  background:
  linear-gradient(180deg,transparent,rgba(0,0,0,.72));
  display:flex;
  align-items:flex-end;
  padding:30px;
}

.overlay h3{
  color:white;
  font-size:28px;
  margin:0;
  letter-spacing:-1px;
}

@media(max-width:900px){

.gallery-grid{
  grid-template-columns:1fr;
}

.gallery-card,
.gallery-card.large,
.gallery-card.wide{
  grid-column:auto;
  min-height:320px;
}

.gallery-header h2{
  font-size:38px;
}

}

.ecosystem-final{
  padding:100px 34px;
  background:
    linear-gradient(135deg,rgba(23,16,25,.95),rgba(55,18,47,.9)),
    url("/assets/images/real/city-international-team.jpeg") center/cover no-repeat;
  color:white;
}

.ecosystem-inner{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.ecosystem-inner span{
  color:#f1d7eb;
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
}

.ecosystem-inner h2{
  max-width:760px;
  font-size:50px;
  line-height:1.08;
  margin:16px 0;
  letter-spacing:-2px;
}

.ecosystem-inner p{
  max-width:760px;
  color:#eee3ef;
  font-size:18px;
  line-height:1.75;
}

.ecosystem-inner a{
  flex-shrink:0;
  background:white;
  color:#6f135b;
  padding:17px 28px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
}

@media(max-width:900px){
  .ecosystem-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .ecosystem-inner h2{
    font-size:36px;
  }
}
