/* IUMA DIMENSION PUBLIC V30.7 — architectural composition and responsive refinement. */

/*
 * Home · ¿QUÉ ES IUMA?
 * Bound the photographic row independently from the portrait source ratio and
 * draw the ivory/photo boundary as one continuous surface instead of a loose
 * pseudo-element wedge.
 */
.home-ecosystem-v18 {
  min-height: 0;
  grid-template-rows: clamp(590px, 34vw, 760px) minmax(300px, auto);
}

.home-ecosystem-v18 .static-ecosystem-editorial {
  height: 100%;
  min-height: 0;
  clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%);
}

.home-ecosystem-v18 .static-ecosystem-editorial::after {
  content: none;
}

.home-ecosystem-v18 .static-ecosystem-photo-v304 {
  height: 100%;
  min-height: 0;
}

.home-ecosystem-v18 .static-ecosystem-photo-v304 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

/*
 * Home · NUESTRA VISIÓN
 * The section itself was inadvertently capped at 1280px while its padding was
 * based on 100vw. Above 1920px this collapsed all twelve grid tracks.
 */
.home-vision-v18 {
  width: 100%;
  max-width: none;
}

/*
 * Empresas · HAY UN LUGAR PARA TU EMPRESA
 * Keep the copy column viable after the editorial frame reaches its max width;
 * percentage padding against the viewport previously consumed the whole line.
 */
@media (min-width: 1101px) {
  .companies-register-v18 .companies-register-copy-v14 {
    padding-right: clamp(520px, 46vw, 680px);
  }
}

/*
 * Proveedores · TU ACTIVIDAD. TUS SERVICIOS. UN MISMO CONTEXTO
 * Decouple section height from the portrait asset and keep an authored, bounded
 * photographic crop. The text remains optically top-led rather than centred.
 */
@media (min-width: 1101px) {
  .supplier-register-v18 {
    height: clamp(760px, 46vw, 900px);
    min-height: 0;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    grid-template-rows: minmax(0, 1fr);
  }

  .supplier-register-v18 > .supplier-register-photo-v305 {
    height: 100%;
    min-height: 0;
  }

  .supplier-register-v18 > .supplier-register-photo-v305 img {
    object-position: 50% 43%;
  }

  .supplier-register-v18 .supplier-register-v15-rule {
    left: 42%;
  }

  .supplier-register-v18 .supplier-register-v15-copy {
    padding-top: clamp(88px, 6vw, 116px);
    padding-bottom: clamp(68px, 5vw, 92px);
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .home-ecosystem-v18 {
    grid-template-rows: clamp(560px, 58vw, 610px) minmax(330px, auto);
  }

  .home-ecosystem-v18 .static-ecosystem-editorial {
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 700px) {
  .home-ecosystem-v18 .static-ecosystem-editorial {
    min-height: 0;
    padding-bottom: 54px;
    clip-path: none;
  }

  .home-ecosystem-v18 .static-ecosystem-photo-v304 {
    height: clamp(350px, 100vw, 400px);
    margin-top: -20px;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }

  .home-ecosystem-v18 .static-ecosystem-photo-v304 img {
    object-position: 50% 0;
  }

  .supplier-register-v18 {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-ecosystem-v18 .static-ecosystem-editorial,
  .home-ecosystem-v18 .static-ecosystem-photo-v304,
  .supplier-register-v18 > .supplier-register-photo-v305,
  .supplier-register-v18 > .supplier-register-photo-v305 img {
    animation: none !important;
    transition: none !important;
  }
}
