/* GeoExtractor WP 2.2 · reparación visual de la intro y marca.
 * Sin cambios en app.js, datos, mapas o backend WordPress. */
html.gx-intro-lock, html.gx-intro-lock body,
body.gx-intro-lock { overflow: hidden !important; overscroll-behavior: none !important; }
/* La cortinilla cubre toda la pantalla, sin desplazarse junto a la página. */
#uas-geox #gx-welcome.gx-welcome {
 position: fixed !important;
 inset: 0 !important;
 top: 0 !important;
 left: 0 !important;
 right: 0 !important;
 bottom: 0 !important;
 width: 100vw !important;
 height: 100vh !important;
 height: 100dvh !important;
 min-height: 0 !important;
 max-height: none !important;
 margin: 0 !important;
 border-radius: 0 !important;
 overflow-x: hidden !important;
 overflow-y: auto !important;
 overscroll-behavior: contain;
 z-index: 2147483000 !important;
 transform: none !important;
}
#uas-geox #gx-welcome.gx-welcome[hidden] {display:none !important;}
#uas-geox #gx-welcome .gx-welcome-stage {
 height: auto !important;
 min-height: 100vh !important;
 min-height: 100dvh !important;
 max-height: none !important;
}
/* Marca: el bitmap oficial se muestra como imagen de fondo, sin estirarse.
   A diferencia de <img>, WordPress no puede imponernos una altura arbitraria. */
#uas-geox #gx-welcome .gx-brand-logo.gx-logo-ratio-safe {
 display: block !important;
 flex: 0 0 auto !important;
 width: min(485px, 39vw) !important;
 height: auto !important;
 aspect-ratio: 1593 / 285 !important;
 min-width: 0 !important;
 min-height: 0 !important;
 max-width: 100% !important;
 max-height: none !important;
 margin: 0 !important;
 padding: 0 !important;
 background-image: url('./logo-uas.png') !important;
 background-repeat: no-repeat !important;
 background-size: contain !important;
 background-position: left center !important;
 object-fit: unset !important;
}
#uas-geox .ident a.gx-app-logo-link {display:block !important; flex:0 0 auto !important; min-width:0 !important; text-decoration:none !important;}
#uas-geox .ident .gx-app-logo-ratio-safe {
 display: block !important;
 width: 300px !important;
 height: auto !important;
 aspect-ratio: 1593 / 285 !important;
 max-width: 31vw !important;
 min-width: 0 !important;
 min-height: 0 !important;
 max-height: none !important;
 margin: 0 !important;
 padding: 0 !important;
 border-radius: 4px;
 background: #041d37 url('./logo-uas.png') no-repeat left center !important;
 background-size: contain !important;
 box-shadow: 0 0 17px #028fc31b;
}
@media(max-width:760px){
 #uas-geox #gx-welcome .gx-brand-logo.gx-logo-ratio-safe {width:min(370px, 88vw) !important;}
 #uas-geox .ident .gx-app-logo-ratio-safe {width:175px !important;max-width:46vw !important;}
 #uas-geox #gx-welcome .gx-welcome-stage{min-height:max(690px,100dvh) !important;}
}
@media(max-width:430px){
 #uas-geox #gx-welcome .gx-brand-logo.gx-logo-ratio-safe{width:min(325px,85vw) !important;}
 #uas-geox .ident .gx-app-logo-ratio-safe{width:145px !important;max-width:42vw !important;}
}
@media(prefers-reduced-motion:reduce){
 #uas-geox #gx-welcome.gx-welcome.gx-is-leaving{animation:none !important;opacity:0 !important;}
}

/* Ajustes solicitados 2026-11-19: limpieza textual y botón destacado */
#uas-geox #gx-welcome .gx-welcome-head{margin-bottom:18px !important;}
#uas-geox #gx-welcome .gx-welcome-copy{display:flex;flex-direction:column;align-items:flex-start;}
#uas-geox #gx-welcome .gx-welcome-title{margin-top:0 !important;}
#uas-geox #gx-welcome .gx-welcome-desc{margin-top:10px !important;}
#uas-geox #gx-welcome .gx-welcome-explain{margin-bottom:22px !important;max-width:42ch;}
#uas-geox #gx-welcome #gx-welcome-enter{
 display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:16px !important;
 min-height:72px !important; padding:20px 34px !important; border-radius:22px !important;
 font-size:clamp(18px,1.55vw,28px) !important; line-height:1.08 !important; font-weight:900 !important;
 letter-spacing:.02em !important; box-shadow:0 10px 28px rgba(255,139,0,.34), 0 0 0 2px rgba(255,196,72,.22) inset !important;
}
#uas-geox #gx-welcome #gx-welcome-enter span:first-child{font-size:inherit !important; font-weight:900 !important;}
#uas-geox #gx-welcome #gx-welcome-enter .gx-enter-arrow{font-size:1.25em !important; line-height:1 !important;}
#uas-geox #gx-welcome .gx-welcome-byline{margin-top:18px !important;}
#uas-geox #gx-welcome .gx-welcome-foot{justify-content:flex-start !important;}
#uas-geox #gx-welcome .gx-welcome-foot span:first-child:last-child{opacity:.95 !important;}
@media (max-width:760px){
 #uas-geox #gx-welcome #gx-welcome-enter{min-height:64px !important;padding:18px 26px !important;font-size:clamp(17px,4.6vw,24px) !important;border-radius:20px !important;}
 #uas-geox #gx-welcome .gx-welcome-explain{margin-bottom:18px !important;}
}

/* Ajuste 2026-11-19: intro más estático, sin espacio inferior ni desplazamiento visible */
html.gx-intro-lock, body.gx-intro-lock{height:100% !important;}
#uas-geox #gx-welcome.gx-welcome{
  overflow:hidden !important;
  overscroll-behavior:none !important;
}
#uas-geox #gx-welcome .gx-welcome-stage{
  box-sizing:border-box !important;
  height:100vh !important;
  height:100dvh !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  max-height:100vh !important;
  max-height:100dvh !important;
  overflow:hidden !important;
  padding-bottom:10px !important;
}
#uas-geox #gx-welcome .gx-welcome-layout{
  min-height:0 !important;
  height:100% !important;
  align-items:center !important;
}
#uas-geox #gx-welcome .gx-welcome-copy{
  min-height:0 !important;
  justify-content:center !important;
}
#uas-geox #gx-welcome .gx-welcome-art{
  align-self:center !important;
}
#uas-geox #gx-welcome .gx-welcome-byline{margin-top:14px !important;}
#uas-geox #gx-welcome .gx-welcome-foot{
  flex:0 0 auto !important;
  margin-top:6px !important;
  padding-top:12px !important;
}
@media (max-width:1100px){
  #uas-geox #gx-welcome .gx-welcome-stage{padding-bottom:8px !important;}
}
@media (max-width:760px){
  #uas-geox #gx-welcome .gx-welcome-stage{
    height:100svh !important;
    min-height:100svh !important;
    max-height:100svh !important;
    padding-top:18px !important;
    padding-bottom:12px !important;
  }
  #uas-geox #gx-welcome .gx-welcome-layout{height:auto !important;}
  #uas-geox #gx-welcome .gx-welcome-copy{padding-bottom:0 !important;}
  #uas-geox #gx-welcome .gx-welcome-byline{margin-top:12px !important;}
  #uas-geox #gx-welcome .gx-welcome-foot{margin-top:4px !important;padding-top:10px !important;}
}
