/* Ajustes propios de la versión estática (sustituyen comportamientos que antes hacía JavaScript de WordPress) */

/* Barra de llamada fija (Elementor Pro sticky: bottom) */
.static-sticky-bottom { position: sticky !important; bottom: 0; z-index: 99; }
.static-sticky-top { position: sticky !important; top: 0; z-index: 99; }

/* Panel del acordeón: abierto/cerrado sin Bootstrap */
.elementskit-accordion .collapse:not(.show) { display: none; }
.elementskit-accordion .collapse.show { display: block; }

/* Vídeo emergente */
.static-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .85); display: flex; align-items: center; justify-content: center; padding: 16px; }
.static-lightbox__inner { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; }
.static-lightbox__inner iframe { width: 100%; height: 100%; border: 0; }
.static-lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .animated { animation: none !important; }
}
