html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }
.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.text-gradient {
  background: linear-gradient(135deg, #0A4D8C 0%, #041E3A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85%; object-fit: contain; }
.before-after-container {
  position: relative;
  overflow: hidden;
  user-select: none;
}
.before-after-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  cursor: ew-resize;
  z-index: 10;
}
.before-after-slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Botones flotantes intercalados */
#back-to-top {
  bottom: 115px !important;
  right: 40px !important;
}
