﻿/* Animaciones */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease forwards;
}

.fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease forwards;
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeRight 1s ease forwards;
}

.fade-up-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes fadeRight {
    to {
    opacity: 1;
    transform: translateX(0);
    }
}

/* Glow suave */
.soft-glow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.soft-glow:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    transform: translateY(-4px);
}

/* Sombra suave */
.soft-shadow {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Cards */
.card {
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.highlight {
  border: 2px solid #15803d;
}

/* Icono */
.icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 20px;
}

/* Texto */
.title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.desc {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Search */
/* .search-box {
  display: flex;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
}

.search-box button {
  background: #22c55e;
  border: none;
  padding: 0 14px;
  cursor: pointer;
  color: white;
} */

/* Botones */
.btn-primary {
  background: linear-gradient(135deg, #15803d, #22c55e);
  color: white;
  padding: 10px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: #e5e7eb;
  color: #374151;
  padding: 10px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.btn-danger {
  background: #fca5a5;
  color: #7f1d1d;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: #f87171;
  color: white;
}

/* dots más limpios */
.splide__pagination__page {
  background: rgba(0,0,0,0.3);
}

.splide__pagination__page.is-active {
  background: #22c55e;
}

/* efecto suave tipo zoom automático (Ken Burns feel) */
.splide__slide.is-active img {
  animation: slowZoom 6s ease forwards;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* dots más elegantes */
.splide__pagination__page {
  background: rgba(255,255,255,0.4);
}

.splide__pagination__page.is-active {
  background: #22c55e;
}

/* suaviza bordes internos */
.splide__track {
  border-radius: 1.5rem;
}