/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import "tailwindcss";

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 7rem;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-text-enter {
  animation: slideUpFade 0.55s ease-out 0.35s both;
}

/* Focal point para imágenes con object-cover */
.focal-image {
  object-position: var(--fp-x, 50%) var(--fp-y, 50%);
}
@media (max-width: 767px) {
  .focal-image {
    object-position: var(--fp-mx, var(--fp-x, 50%)) var(--fp-my, var(--fp-y, 50%));
  }
}
