/* SIMBI | Portadas unificadas v1
   Cargar DESPUES del CSS especifico de cada pagina.
   No modifica navegacion, footer, chatbot ni secciones internas.
*/
@media (min-width: 901px) {
  /* Misma altura y distribucion en escritorio */
  .hero-grid,
  .ia-new-grid,
  .sol-grid,
  .mock-hero .mock-grid,
  .contact-hero-grid {
    height: 600px;
    min-height: 600px;
    grid-template-columns: 48% 52%;
    align-items: stretch;
    gap: 0;
  }

  /* El contenido queda centrado sin sumar altura adicional */
  .hero-copy,
  .ia-new-copy,
  .sol-copy,
  .mock-hero .mock-copy,
  .contact-hero-grid > div:first-child {
    align-self: center;
    min-width: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  /* Extender el panel visual hasta el borde derecho del viewport.
     La anchura del contenedor es min(1190px, 90vw). */
  .hero-img,
  .ia-new-visual,
  .sol-visual,
  .mock-hero .mock-visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: calc((min(1190px, 90vw) - 100vw) / 2);
    overflow: hidden;
    border-radius: 0;
  }

  .ia-new-visual img,
  .sol-visual img,
  .mock-hero .mock-visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  /* Inicio usa imagen de fondo en lugar de un elemento img */
  .hero-img {
    background-size: cover;
    background-position: center center;
    box-shadow: none;
  }

  /* Contacto usa tarjetas ilustradas en vez de una fotografia */
  .contact-hero-art {
    align-self: center;
    justify-self: stretch;
    max-width: 100%;
  }
}

/* Evitar recortes de texto en pantallas intermedias */
@media (min-width: 901px) and (max-width: 1099px) {
  .hero-grid,
  .ia-new-grid,
  .sol-grid,
  .mock-hero .mock-grid,
  .contact-hero-grid {
    height: auto;
    min-height: 600px;
  }
  .hero-img,
  .ia-new-visual,
  .sol-visual,
  .mock-hero .mock-visual {
    min-height: 600px;
  }
}
