/* ─── Inline Service Photo Strip ─── */
.service-photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0;
}

.service-photo-strip .sph-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: zoom-in;
}

.service-photo-strip .sph-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--spring);
  display: block;
}

.service-photo-strip .sph-item:hover img { transform: scale(1.04); }

.service-photo-strip .sph-item.tall { aspect-ratio: 2/3; }
.service-photo-strip .sph-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* ─── Before/After Slider (Protetica) ─── */
.ba-slider-section { background: var(--warm-white); }

.ba-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  user-select: none;
  -webkit-user-select: none;
}

.ba-track {
  display: flex;
  gap: 16px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 16px;
  cursor: grab;
  will-change: scroll-position;
}

.ba-track::-webkit-scrollbar { display: none; }
.ba-track.dragging { cursor: grabbing; scroll-behavior: auto; }

.ba-slide {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--white);
  border: 1px solid rgba(27,94,138,0.08);
  border-radius: 22px;
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(27,94,138,0.06);
  transition: box-shadow 0.3s ease;
}

.ba-slide:hover {
  box-shadow: 0 12px 40px rgba(27,94,138,0.13);
  border-color: rgba(0,180,216,0.2);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ba-images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
}

.ba-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2px 0;
}

.ba-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 99px;
}

.ba-tag.before { background: rgba(239,68,68,0.1); color: #DC2626; }
.ba-tag.after  { background: rgba(34,197,94,0.1);  color: #16A34A; }

.ba-arrow-txt {
  font-size: 14px;
  color: var(--text-soft);
}

/* Slider dots */
.ba-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.ba-dot {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: rgba(27,94,138,0.2);
  transition: all 0.3s var(--spring);
  cursor: pointer;
}

.ba-dot.active {
  background: var(--primary);
  width: 20px;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
  padding: 20px;
}

.lightbox-overlay.open { opacity: 1; pointer-events: all; }

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90dvh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.4s var(--bounce);
}

.lightbox-overlay.open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.28); }

@media (max-width: 768px) {
  .service-photo-strip { grid-template-columns: 1fr; }
  .service-photo-strip .sph-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .ba-slide { flex: 0 0 280px; }
}

@media (max-width: 480px) {
  .ba-slide { flex: 0 0 260px; }
}