/* Solo la portada: no modifica catálogo, stock ni carrito. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  background: #a9c6df;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(217,235,248,.92) 0%, rgba(217,235,248,.74) 27%, rgba(217,235,248,0) 52%);
}
.hero > div:first-child {
  width: min(52%, 660px);
  position: relative;
  z-index: 1;
  padding: 5.5vw;
}
.hero h1 { font-size: clamp(48px, 6.2vw, 94px); }
.hero p { max-width: 400px; color: #355460; }
.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  /* Contain muestra la fotografía y el logo completos, sin recorte. */
  object-fit: contain;
  object-position: center center;
  z-index: -2;
}
.hero a:hover { background: #203c48; }
@media (max-width: 700px) {
  /* En móvil, el texto va encima y la foto entera debajo. */
  .hero { aspect-ratio: auto; min-height: 0; flex-direction: column; align-items: stretch; }
  .hero::before { display: none; }
  .hero > div:first-child { width: 100%; padding: 42px 24px 32px; background: #d9ebf8; }
  .hero h1 { font-size: clamp(47px, 12vw, 67px); }
  .hero p { max-width: 330px; }
  .hero > img { position: relative; inset: auto; height: auto; width: 100%; aspect-ratio: 1672 / 941; object-fit: contain; object-position: center; z-index: 0; max-height: none; }
}
