/* ===========================
   PAGE HERO OVERRIDE (sage)
   =========================== */
.page-hero {
  background-color: var(--color-sage);
}

/* ===========================
   STEPS
   =========================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
  }
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-sage);
  color: var(--color-brown);
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
}

.step__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
}

.step__text {
  font-size: var(--fs-sm);
  opacity: 0.7;
  line-height: var(--lh-normal);
}

/* Connecting lines between steps on desktop */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    height: 1px;
    background-color: var(--color-tan);
  }
}

/* ===========================
   GALLERY
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 197, 185, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-item__placeholder {
  aspect-ratio: 3 / 4;
  background-color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tan);
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
}
