/* FINXARIA V60r39: cambios puntuales sobre el sitio original V60r22.
   Galaxia: FOV real WebGL 48° -> 40°, aprox. 22% de tamaño lineal adicional.
   Tarjetas: fila completa dentro de la altura visible inicial, sin scroll. */
@media (min-width: 1001px) and (min-height: 760px) {
  html.fx22 #inicio[data-fx22-hero] {
    height: calc(100svh - var(--fx22-head, 0px)) !important;
    min-height: calc(100svh - var(--fx22-head, 0px)) !important;
    max-height: calc(100svh - var(--fx22-head, 0px)) !important;
    padding: 12px clamp(24px,5.3vw,96px) 0 !important;
    gap: 0 !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }
  html.fx22 #inicio [data-fx22-hero-content] {
    position: relative !important;
    z-index: 7 !important;
    align-self: flex-start !important;
    margin: 0 !important;
    transform: none !important;
    max-width: min(48vw,745px) !important;
  }
  html.fx22 #inicio [data-fx22-hero-content] h1 {
    max-width: 15ch !important;
    font-size: clamp(39px,5.0vw,80px) !important;
    line-height: 1.04 !important;
  }
  html.fx22 #inicio [data-fx22-cards] {
    position: absolute !important;
    inset: auto clamp(24px,5.3vw,96px) 12px clamp(24px,5.3vw,96px) !important;
    top: auto !important;
    bottom: 12px !important;
    width: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    align-items: stretch !important;
    gap: clamp(10px,1.4vw,22px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 15 !important;
  }
  html.fx22 #inicio [data-fx22-card] {
    box-sizing: border-box !important;
    min-height: 112px !important;
    height: 112px !important;
    padding: 10px 12px !important;
    overflow: visible !important;
  }
  html.fx22 #inicio [data-fx22-hero] [data-fx22-galaxy-media],
  html.fx22 #inicio [data-fx22-galaxy-media] {
    z-index: 1 !important;
  }
  /* Importante: no aplicar más escalas CSS al canvas.
     El aumento se realiza en la cámara WebGL real, en galaxy_engine_v39.js. */
}
@media (min-width:1001px) and (min-height:760px) and (max-height:900px) {
  html.fx22 #inicio[data-fx22-hero] {padding-top: 6px !important;}
  html.fx22 #inicio [data-fx22-hero-content] h1 {font-size:clamp(37px,4.6vw,72px)!important;}
  html.fx22 #inicio [data-fx22-card] {height:104px!important;min-height:104px!important;}
}
