/* ═══════════════════════════════════ */
/* GENERIC SECTION STYLES              */
/* ═══════════════════════════════════ */

.section {
  position: relative;
  z-index: 1;
  padding: 88px 40px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.5px;
}

.section-desc {
  margin-top: 12px;
  font-size: .93rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
}

/* ─── GENERIC MEDIA GRID (used for content sections with photos) ─── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.media-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  position: relative;
}

.media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-smooth);
}

.media-grid figure:hover img {
  transform: scale(1.05);
}

.media-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: .78rem;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
}

@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
