#gallery {
  scroll-margin-top: 90px;
}

.work-gallery {
  background: #000000;
  color: #fff;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.work-gallery__inner {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: #ff6a00;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.work-gallery h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 900;
}

.work-gallery__text {
  max-width: 700px;
  margin: 0 auto 48px;
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 46px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.05) 45%,
    transparent
  );
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(15,15,18,0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}

.gallery-btn {
  display: flex;
  justify-content: center;
  justify-self: center;
  align-items: center;
  align-self: center;
  text-decoration: none;
  min-width: 310px;
  height: 58px;
  padding: 0 28px;
  background: #ff6a00;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  
}

.gallery-btn button:hover {
  transform: translateY(-2px);
  background: #ff7a1a;
  box-shadow: 0 18px 38px rgba(255,106,0,0.32);
}

/* TABLET */
@media (max-width: 900px) {
  .work-gallery {
    padding: 80px 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* PHONE */
@media (max-width: 560px) {
  .work-gallery {
    padding: 70px 16px;
  }

  .section-label {
    font-size: 0.72rem;
    margin-bottom: 12px;
  }

  .work-gallery h2 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
    letter-spacing: -0.8px;
  }

  .work-gallery__text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 34px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 34px;
  }

  .gallery-item {
    aspect-ratio: 1 / 1.15;
    border-radius: 16px;
  }

  .photo-tag {
    left: 9px;
    bottom: 9px;
    font-size: 0.62rem;
    padding: 5px 8px;
  }

  .gallery-btn {
    width: 100%;
    min-width: 0;
    height: 56px;
  }
}