
.page-hero--sm {
  height: 40vh;
  min-height: 200px;
  margin-top: 76px;
  position: relative;
  overflow: hidden;
}
.page-hero--sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,28,28,.65) 0%,
    rgba(0,0,0,.15) 100%
  );
}
.page-hero__caption {
  position: absolute;
  bottom: 48px;
  left: 80px;
  color: #fff;
}
.page-hero__caption .section-label {
  color: var(--pink);
  margin-bottom: 10px;
}
.page-hero__caption h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

/* ════════════════════════════════════════════
   SECCIÓN GALERÍA
   ════════════════════════════════════════════ */
.galeria-section {
  padding: 80px 0;
}
.galeria-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Grid */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Entrance animation (estado inicial) ── */
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  aspect-ratio: 4 / 3;

  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.galeria-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Imagen */
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.galeria-item:hover img {
  transform: scale(1.06);
}

/* Overlay hover */
.galeria-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(191,48,60,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
}
.galeria-item:hover .galeria-item__overlay {
  opacity: 1;
}
.galeria-item__overlay span {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  padding: 10px 22px;
  border-radius: 3px;
}

/* ════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(.95);
  transition: transform .3s ease;
}
.lightbox.open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .galeria-inner { padding: 0 24px; }
  .page-hero__caption { left: 28px; bottom: 32px; }
}
@media (max-width: 540px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-section { padding: 48px 0; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}