/* Equivalentes del runtime de Elementor. El diseño procede de los CSS originales. */
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
.elementor-location-header { position: sticky; top: 0; z-index: 100; }
main [id] { scroll-margin-top: var(--lrma-header-height, 110px); }
.elementor-menu-toggle:focus-visible,
.dialog-close-button:focus-visible,
.ti-read-more:focus-visible,
.ti-controls [role="button"]:focus-visible { outline: 2px solid #01e0f2; outline-offset: 3px; }
.elementor-nav-menu--dropdown.lrma-menu-open { max-height: calc(100dvh - var(--lrma-header-height, 110px)); transform: scaleY(1); overflow-y: auto; }
@media (min-width: 1025px) {
  .elementor-nav-menu--dropdown.lrma-menu-open { display: none; }
}

/* Mismo popup 464 y dimensiones originales, con el diálogo nativo del navegador. */
dialog#elementor-popup-modal-464 {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 16px;
  margin: 0;
  border: 0;
  overflow: auto;
  z-index: 1000;
}
dialog#elementor-popup-modal-464:not([open]) { display: none; }
dialog#elementor-popup-modal-464[open] { display: flex; }
dialog#elementor-popup-modal-464::backdrop { background: transparent; }
#elementor-popup-modal-464 .dialog-widget-content { position: relative; max-width: 100%; max-height: 100%; }
#elementor-popup-modal-464 .dialog-message { width: 640px; max-width: 100%; max-height: calc(100dvh - 32px); }
#elementor-popup-modal-464 .elementor-location-popup { display: block; }
#elementor-popup-modal-464 .dialog-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  color: #01e0f2;
  cursor: pointer;
  line-height: 1;
}
body.lrma-dialog-open { overflow: hidden; }

/* Las capas utilizan los mismos fondos, transición y efecto Ken Burns del original. */
.lrma-slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.lrma-slide.lrma-slide-active { opacity: 1; }
.lrma-slide .elementor-background-slideshow__slide__image { transform: scale(1); }
.lrma-slide-active .elementor-background-slideshow__slide__image { transform: scale(1.3); }

/* Trustindex: estilos recuperados, navegación local sobre las reseñas recuperadas. */
pre.ti-widget { white-space: normal; padding: 0; margin: 0; border: 0; background: transparent; overflow: visible; }
.ti-widget.ti-goog.lrma-reviews { opacity: 1 !important; height: auto !important; overflow: visible !important; }
.ti-widget.ti-goog .ti-reviews-container-wrapper { scroll-behavior: smooth; }
.ti-widget.ti-goog .ti-reviews-container-wrapper:focus-visible { outline: 2px solid #01e0f2; }
.ti-widget.ti-goog .ti-review-content.lrma-review-expanded { max-height: none !important; height: auto !important; -webkit-line-clamp: unset !important; }
.ti-widget.ti-goog .ti-read-more { cursor: pointer; }
.ti-widget.ti-goog .ti-read-more[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html, .ti-widget.ti-goog .ti-reviews-container-wrapper { scroll-behavior: auto; }
  .lrma-slide, .lrma-slide .elementor-background-slideshow__slide__image { transition: none !important; transform: none !important; }
}
