#galeria img, #experiencias img { cursor: zoom-in; }

.boto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 72px 68px;
  background: rgba(3, 15, 12, .94);
  backdrop-filter: blur(12px);
  color: white;
}
.boto-lightbox.is-open { display: flex; }
.boto-lightbox-figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}
.boto-lightbox-image {
  max-width: 100%;
  max-height: calc(100dvh - 155px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .5);
}
.boto-lightbox-caption {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.boto-lightbox-btn {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 40, 29, .8);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.boto-lightbox-btn:hover, .boto-lightbox-btn:focus-visible {
  background: #d9a922;
  border-color: #d9a922;
  color: #0d3325;
}
.boto-lightbox-btn[hidden] { display: none; }
.boto-lightbox-close { top: 20px; right: 22px; }
.boto-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.boto-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.boto-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font: 500 13px "Montserrat", sans-serif;
  color: rgba(255,255,255,.7);
}
@media (max-width: 640px) {
  .boto-lightbox { padding: 66px 12px 72px; }
  .boto-lightbox-image { max-height: calc(100dvh - 175px); }
  .boto-lightbox-btn { width: 38px; height: 38px; font-size: 25px; }
  .boto-lightbox-close { right: 12px; top: 14px; }
  .boto-lightbox-prev { left: 8px; }
  .boto-lightbox-next { right: 8px; }
  .boto-lightbox-caption { font-size: 12px; padding: 0 36px; }
}
