/* Portada pública en celular y tablet.
   Toda la hoja está dentro de 1024 px y solo en la página de inicio.
   Por encima de 1024 px no hay reglas activas. */

@media (max-width: 1024px) {
  body[data-seo-page="home"] .portada-ext {
    align-items: center;
    justify-content: center;
  }

  body[data-seo-page="home"] .portada-ext__veil::after {
    left: 50%;
    top: 3.5%;
    width: max-content;
    max-width: 92vw;
    transform: translateX(-50%);
    font-size: clamp(2.4rem, 13vw, 5rem);
    text-align: center;
  }

  body[data-seo-page="home"] .portada-ext__inner {
    width: min(100%, 20rem);
    margin-inline: auto;
    padding-inline: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body[data-seo-page="home"] .portada-ext__brand {
    margin-inline: auto;
    justify-content: center;
  }

  body[data-seo-page="home"] .portada-ext__lead {
    white-space: normal;
    max-width: 18rem;
    text-align: center;
    font-size: 0.98rem;
  }

  body[data-seo-page="home"] .portada-doors {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.55rem;
    width: min(100%, 15.5rem);
    margin-inline: auto;
  }

  body[data-seo-page="home"] .portada-door {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.74rem;
  }

  body[data-seo-page="home"] .footer--door-min {
    padding-top: 2.25rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 767px) {
  body[data-seo-page="home"] .portada-ext__inner {
    width: min(100%, 24rem);
    padding-inline: 1.15rem;
  }

  body[data-seo-page="home"] .portada-ext__lead {
    white-space: normal;
    max-width: 22rem;
  }

  body[data-seo-page="home"] .portada-doors {
    width: min(100%, 15.5rem);
    margin-inline: auto;
  }
}
