/* ============================================================
   Balance Group — Portfolio sahifasi
   ============================================================ */

/* ---- HERO ---- */
.phero {
  position: relative;
  background: #0c0a0b url(../images/hero-dark-bg.png) center/cover no-repeat;
  padding-top: clamp(110px, 14vw, 146px);
  overflow: hidden;
}
.phero__container { position: relative; min-height: 700px; }
.phero__content { position: relative; z-index: 5; padding-top: clamp(40px, 7vw, 80px); max-width: 620px; margin: 0 auto; text-align: center; }
.phero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.1;
  text-transform: uppercase;
}
.phero__text {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.5;
  max-width: 525px;
}
.phero__btn { margin-top: 28px; text-transform: uppercase; }

/* dekorativ kollaj */
.phero__collage {
  position: absolute;
  top: -150px; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.phero__collage .d {
  position: absolute;
  height: auto;
  border-radius: 6px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.45));
  will-change: transform, opacity;
}
.phero-hand {
  position: absolute;
  height: auto;
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}
.phero-hand--left  { left: 0px;    top: 58px;     width: min(478px, 34vw); }
.phero-hand--right { right: 0px;    bottom: -45px; width: min(554px, 40vw); }

/* ---- KEYSLAR GRID ---- */
.pgrid { padding: 40px 0 24px; }
.pgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-items: center;
}
.pgrid__grid .case { width: 100%; max-width: 390px; }
.pgrid__more {
  text-align: center;
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 90px);
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 24%, #999999 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- bo'lim o'ramlari ---- */
/* CTA spacing style.css da; portfolio pastki joy uchun biroz ko'proq */
.cta-section { padding-bottom: clamp(64px, 8vw, 90px); }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .phero__collage { display: none; }
  .phero__container { min-height: auto; padding-bottom: clamp(40px, 8vw, 60px); }
  .phero__content { max-width: 100%; }
  .pgrid__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pgrid { padding: 24px 0 24px; }
  .cta-section { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .pgrid__grid { grid-template-columns: 1fr; }
}
