/* =========================
   GMB SECTION
========================= */

.gmb-section{
  padding: 130px 20px;
  background:
    linear-gradient(
      to bottom,
      #ffffff,
      #fff7f7
    );

  overflow: hidden;
}

/* TOP */

.gmb-top{
  text-align: center;
  max-width: 950px;
  margin: 0 auto 80px;
}

.gmb-badge{
  display: inline-block;

  padding: 12px 24px;

  border-radius: 100px;

  background:
    #fff0f0;

  color:
    #d40000;

  font-size: 14px;
  font-weight: 600;

  border:
    1px solid rgba(255,0,0,0.08);

  margin-bottom: 24px;

  transition:
    all 0.45s ease-in-out;
}

.gmb-badge:hover{
  transform:
    translateY(-5px);

  box-shadow:
    0 15px 35px rgba(255,0,0,0.08);
}

.gmb-top h2{
  font-size:
    clamp(42px,6vw,74px);

  line-height: 1.1;

  color:
    #111;

  font-weight: 800;
}

.gmb-top h2 span{
  background:
    linear-gradient(
      90deg,
      #d40000,
      #ff4040
    );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GRID */

.gmb-grid{
  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  grid-auto-rows:
    260px;

  gap: 24px;
}

/* CARD */

.gmb-card{
  position: relative;

  overflow: hidden;

  border-radius: 34px;

  cursor: pointer;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.06);

  transition:
    all 0.6s ease-in-out;
}

.gmb-card:hover{
  transform:
    translateY(-12px)
    scale(1.02);

  box-shadow:
    0 30px 70px rgba(255,0,0,0.12);
}

.gmb-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.9s ease-in-out;
}

.gmb-card:hover img{
  transform:
    scale(1.1);
}

/* OVERLAY */

.gmb-overlay{
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.88),
      rgba(0,0,0,0.12)
    );
}

/* CONTENT */

.gmb-content{
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 28px;

  z-index: 2;
}

.gmb-content h3{
  color: white;

  font-size: 28px;
  line-height: 1.2;

  font-weight: 700;

  transition:
    all 0.45s ease-in-out;
}

.gmb-card:hover .gmb-content h3{
  transform:
    translateY(-4px);
}

/* LARGE CARD */

.large-card{
  grid-column: span 2;
  grid-row: span 2;
}

/* WIDE CARD */

.wide-card{
  grid-column: span 2;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .gmb-grid{
    grid-template-columns:
      repeat(2,1fr);
  }

  .large-card,
  .wide-card{
    grid-column: span 1;
    grid-row: span 1;
  }

}

@media(max-width:768px){

  .gmb-section{
    padding: 90px 18px;
  }

  .gmb-top h2{
    font-size: 42px;
  }

  .gmb-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gmb-content h3{
    font-size: 24px;
  }

}