
/* BEFORE / AFTER slider section */
.before-after-showcase {
  margin: 10px 0 32px;
  padding: 34px 0 10px;
}
.ba-headline {
  margin-bottom: 24px;
}
.ba-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4169e1;
  margin-bottom: 10px;
}
.ba-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4169e1;
  border-radius: 50%;
}
.ba-headline h3 {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}
.ba-headline p {
  font-size: 14px;
  color: #475569;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.ba-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.ba-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #e5e7eb;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}
.ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-after-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
}
.ba-after-wrap img {
  width: 100%;
  height: 100%;
}
.ba-label {
  position: absolute;
  top: 10px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.ba-label.before { left: 10px; }
.ba-label.after { right: 10px; }
.ba-divider {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  background: rgba(255,255,255,0.92);
  z-index: 3;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #0f172a;
  z-index: 4;
}
.ba-handle::before {
  content: '↔';
  transform: translateY(-1px);
}
.ba-caption {
  padding: 14px 16px 16px;
}
.ba-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.ba-caption span {
  font-size: 12.5px;
  color: #64748b;
}
@media (max-width: 1024px) {
  .ba-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .before-after-showcase { padding-top: 20px; }
  .ba-headline h3 { font-size: 21px; }
  .ba-grid { grid-template-columns: 1fr; gap: 12px; }
  .ba-stage { aspect-ratio: 16 / 10; max-height: 250px; }
}
