/* styles.css */

/* ---------- Tarjetas de ley ---------- */
.leyCard {
  background: #fff;
  border: 2px solid #c7d2fe;      /* Indigo-200 */
  border-radius: 1rem;
  box-shadow: 0 4px 16px 0 rgba(99, 102, 241, 0.10); /* Indigo-500 sombra suave */
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.leyCard:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(99, 102, 241, 0.18);
}

.leyCard__title {
  color: #4338ca; /* Indigo-700 */
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.leyCard__contenido {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leyCard__psicologia,
.leyCard__ux {
  margin: 0;
}

.leyCard__psicologia strong,
.leyCard__ux strong,
.leyCard__psicologia span,
.leyCard__ux span {
  color: #6366f1; /* Indigo-500 */
  font-weight: 600;
}

/* ---------- Responsive ajustes ---------- */
@media (max-width: 768px) {
  .leyCard {
    @apply p-4;
  }

  .leyCard__title {
    @apply text-lg;
  }

  .leyCard__psicologia,
  .leyCard__ux {
    @apply text-sm;
  }
}

/* ---------- Scroll personalizado ---------- */
body {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #a78bfa; /* Indigo-400 */
  border-radius: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f3f4f6; /* Gray-100 */
}
