/* Minimal global resets only — no design overrides */
html { font-family: 'Inter', sans-serif; font-weight: 400; }
.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; }

/* Scroll-reveal utility (pure CSS, no JS library needed) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.05s both;
}
.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.30s; }
.reveal-delay-3 { animation-delay: 0.45s; }
.reveal-delay-4 { animation-delay: 0.60s; }

/* Video overlay gradient */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(27,23,21,0.45) 0%,
    rgba(27,23,21,0.55) 60%,
    rgba(27,23,21,0.80) 100%
  );
}

/* Thin horizontal rule */
.rule { border-color: #A79C90; opacity: 0.4; }

/* Nav blur fallback */
.nav-blur {
  background-color: rgba(245,241,234,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Card hover lift */
.card-lift {
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44,41,38,0.10);
}

/* Underline link animation */
.link-underline {
  position: relative;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background-color: #5E6654;
  transition: width 0.4s ease-out;
}
.link-underline:hover::after { width: 100%; }

/* Descripción enriquecida de las clases en vivo (Trix HTML) en el slider de
   módulos. El preflight de Tailwind resetea listas/encabezados, así que aquí
   restauramos un formato legible acorde a la paleta. */
.module-desc > *:last-child { margin-bottom: 0; }
.module-desc p { margin-bottom: 0.6rem; }
.module-desc strong, .module-desc b { font-weight: 600; color: #2C2926; }
.module-desc em { font-style: italic; }
.module-desc a { color: #5E6654; text-decoration: underline; }
.module-desc ul { list-style: disc; padding-left: 1.15rem; margin-bottom: 0.6rem; }
.module-desc ol { list-style: decimal; padding-left: 1.15rem; margin-bottom: 0.6rem; }
.module-desc li { margin-bottom: 0.2rem; }
.module-desc h1 { font-size: 1.15rem; line-height: 1.4; color: #2C2926; margin-bottom: 0.5rem; }
.module-desc h2 { font-size: 1.05rem; line-height: 1.4; color: #2C2926; margin-bottom: 0.5rem; }
.module-desc blockquote {
  border-left: 2px solid #D8D0C4;
  padding-left: 0.75rem;
  color: #A79C90;
  font-style: italic;
  margin-bottom: 0.6rem;
}
