/* Gallery hero sekcija na početku */
.gallery-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.gallery-hero-text {
  padding-right: 1rem;
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-hero-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 32px rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease;
}

.gallery-hero-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

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

@media (max-width: 768px) {
  .gallery-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-hero-text {
    padding-right: 0;
  }
}

/* About hero */

.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.hero-copy .chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat-card {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-label {
  opacity: 0.8;
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.portrait {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.panel-card {
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(240,195,48,0.09), rgba(92,203,255,0.08));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.32);
}

.list-check.tight li {
  margin-bottom: 0.35rem;
}

.firm-story .pill-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}

.pillars .grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.journey .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(240,195,48,0.25);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Gallery */
.gallery-head {
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.gallery-item figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* CTA styling */
.about-cta {
  text-align: center;
  margin: 3rem 0 2rem;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240,195,48,0.14), rgba(92,203,255,0.1));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.about-cta p {
  margin-bottom: 1.5rem;
}
