.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */// Fix ARIA del acordeón antiguo de Elementor
(function () {
  function fixAccordion() {
    document
      .querySelectorAll('.elementor-accordion .elementor-tab-title[role="button"]')
      .forEach(el => {
        // aria-selected no es válido para role="button"
        el.removeAttribute('aria-selected');

        // Aseguramos foco y activación por teclado
        if (!el.hasAttribute('tabindex')) el.setAttribute('tabindex', '0');
        el.addEventListener('keydown', e => {
          if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); el.click(); }
        }, { once: true });
      });
  }

  document.addEventListener('DOMContentLoaded', fixAccordion);

  // Reaplicar si Elementor re-renderiza el widget
  if (window.elementorFrontend?.hooks) {
    elementorFrontend.hooks.addAction('frontend/element_ready/accordion.default', fixAccordion);
  }

  // Reaplicar si hay cambios dinámicos
  new MutationObserver(fixAccordion).observe(document.body, { childList: true, subtree: true });
})();/* End custom CSS */