/* v1 · arreglos sobre el diseño WordPress/Elementor de juli.fit.
   Escritorio (>1024px) queda igual al WordPress; en tablet y móvil se apila todo. */

/* sin WordPress las animaciones de entrada dejaban secciones invisibles */
.elementor-invisible{visibility:visible!important}
.elementor-element.animated,.elementor-element[class*="animated"]{animation:none!important}
html,body{overflow-x:hidden}
img.emoji,img.wp-smiley{width:1em!important;height:1em!important;max-width:1em!important;display:inline!important;vertical-align:-.1em;margin:0 .07em!important}

@media (max-width:1024px){
  /* contenedores: una sola columna, sin posiciones absolutas */
  .e-con,.e-con-inner,.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap{
    flex-direction:column!important;flex-wrap:nowrap!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;
    position:relative!important;inset:auto!important;transform:none!important;
    margin-left:0!important;margin-right:0!important}
  .e-con{--padding-left:16px!important;--padding-right:16px!important;padding-left:16px!important;padding-right:16px!important;gap:16px!important}
  .e-con .e-con{padding-left:14px!important;padding-right:14px!important}
  .e-con .e-con .e-con{padding-left:0!important;padding-right:0!important}
  .elementor-element{position:relative!important;inset:auto!important;transform:none!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .elementor-widget{width:100%!important;--container-widget-width:100%!important;flex:0 0 auto!important}
  .elementor-absolute,.elementor-fixed{position:relative!important;inset:auto!important}

  /* imágenes y decoraciones */
  img{max-width:100%!important;height:auto!important}
  .elementor-widget-image img{width:auto;max-height:520px;object-fit:contain}
  .elementor-background-overlay{display:none!important}
  img[src$="/2026/05/1.png"],img[src$="/2026/05/2.png"],img[src$="/2026/05/3.png"],img[src$="/2026/05/4.png"]{max-width:120px!important;margin:0 auto}

  /* tipografía: nada se sale de la pantalla */
  .elementor-heading-title{overflow-wrap:normal;word-break:normal;hyphens:manual;line-height:1.02!important}
  h1.elementor-heading-title{font-size:clamp(34px,10.5vw,48px)!important}
  h2.elementor-heading-title{font-size:clamp(26px,8vw,38px)!important}
  h3.elementor-heading-title{font-size:clamp(20px,6vw,28px)!important}
  h4.elementor-heading-title,h5.elementor-heading-title,h6.elementor-heading-title{font-size:clamp(16px,4.8vw,22px)!important}
  .elementor-widget-text-editor,.elementor-widget-text-editor p{font-size:16px!important;line-height:1.55!important}
  .elementor-heading-title br,.elementor-widget-text-editor br{display:none}

  /* botones a lo ancho y con buen área táctil */
  .elementor-button{min-height:48px;display:flex!important;align-items:center;justify-content:center;white-space:normal!important;text-align:center}
  .elementor-widget-button .elementor-button{width:100%}
  .elementor-icon-list-items{display:flex;flex-direction:column;gap:8px}
}

@media (max-width:1024px){
  /* encabezado: logo a la izquierda y menú a la derecha, en una fila */
  .elementor-location-header .e-con,.elementor-location-header .e-con-inner{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;padding-top:8px!important;padding-bottom:8px!important}
  .elementor-location-header .elementor-widget,.elementor-location-header .e-con .e-con{width:auto!important;flex:0 0 auto!important;padding-left:0!important;padding-right:0!important}
  .elementor-location-header .elementor-widget-image img,.elementor-location-header img{max-width:150px!important;width:150px!important}
  .elementor-location-header .elementor-nav-menu--dropdown{position:absolute!important;left:0;right:0;top:100%;z-index:99;width:100vw!important}
  .elementor-location-header .elementor-menu-toggle{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
  .elementor-location-header{position:sticky;top:0;z-index:90}
}
