* { font-family: 'DM Sans', sans-serif; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

html { scroll-behavior: smooth; }

@keyframes pulse-shadow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 26, 26, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(139, 26, 26, 0); }
}
.whatsapp-float {
  animation: pulse-shadow 2.5s ease-in-out infinite;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.img-treatment {
  position: relative;
  overflow: hidden;
}
.img-treatment::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 52, 44, 0.15), transparent);
  pointer-events: none;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0bfbf;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dot.active {
  background: #8B1A1A;
  transform: scale(1.25);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
