/* Portada de Catálogo: composición de plataformas, con texto adaptable. */
.catalog-page .catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 0;
  width: 100vw;
  min-height: 0;
  padding: 16px 0 0 clamp(24px, 3.2vw, 72px);
  margin: 0 calc(50% - 50vw);
  border-bottom: 0;
  overflow: hidden;
}
.catalog-hero-copy { position: relative; z-index: 1; min-width: 0; }
.catalog-page .catalog-hero h1 {
  font-size: clamp(44px, 5.3vw, 100px);
  line-height: 1.08;
  margin: 18px 0 18px;
}
.catalog-hero .crumbs { font-size: clamp(13px, 1vw, 18px); }
.catalog-hero .eyebrow { font-size: clamp(12px, 1vw, 18px); }
.catalog-hero .page-lead { max-width: 760px; font-size: clamp(17px, 1.45vw, 24px); line-height: 1.55; }
.catalog-hero .plan-terms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  padding: 12px 6px;
  gap: 0;
  font-size: 15px;
  line-height: 1.2;
  background: linear-gradient(120deg, #17150e, #0c0c0a);
  border: 1px solid #443724;
  border-radius: 10px;
}
.catalog-hero .plan-terms strong,
.catalog-hero .plan-terms span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 12px;
  gap: 8px;
  white-space: nowrap;
}
.catalog-hero .plan-terms span { margin-left: 0; }
.catalog-hero .plan-terms svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.catalog-hero-art {
  position: relative;
  display: block;
  width: 100%;
  /* Archivo preparado con solo la ilustración visible: 1118 × 625. */
  aspect-ratio: 1118 / 625;
  align-self: center;
  overflow: hidden;
  min-width: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 96%, transparent);
}
.catalog-hero-art img { display: block; width: 100%; height: auto; }
.catalog-page .catalog-hero + .catalog { padding-top: 12px; }
@media (min-width: 761px) and (max-width: 1050px) {
  .catalog-page .catalog-hero { gap: 0; min-height: 0; padding: 16px 24px 0; }
  .catalog-hero .page-lead { font-size: 16px; }
  .catalog-hero .plan-terms { padding: 11px 4px; font-size: 12px; }
  .catalog-hero .plan-terms strong, .catalog-hero .plan-terms span { gap: 6px; padding-inline: 10px; }
  .catalog-hero .plan-terms svg { width: 18px; height: 18px; }
}
@media (max-width: 760px) {
  .catalog-page .catalog-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 12px; padding: 20px 24px 0; }
  .catalog-page .catalog-hero h1 { font-size: clamp(40px, 10vw, 66px); margin: 14px 0 16px; }
  .catalog-hero .page-lead { font-size: 16px; }
  .catalog-hero .plan-terms { margin-top: 18px; padding: 11px 4px; font-size: 13px; }
  .catalog-hero .plan-terms strong, .catalog-hero .plan-terms span { gap: 6px; padding-inline: 8px; }
  .catalog-hero .plan-terms svg { width: 18px; height: 18px; }
  .catalog-hero-art { width: calc(100% + 48px); max-width: 760px; justify-self: center; }
}
@media (max-width: 370px) {
  .catalog-hero .plan-terms { padding: 10px 4px; font-size: 12px; }
  .catalog-hero .plan-terms strong, .catalog-hero .plan-terms span { gap: 4px; padding-inline: 6px; }
  .catalog-hero .plan-terms svg { width: 16px; height: 16px; }
}

/* Compact the cover only; preserve the catalogue controls and product cards. */
.catalog-page main > .catalog-hero.site-cover {
  min-height: 0;
  padding-block: 24px;
}
.catalog-page .catalog-hero .catalog-hero-copy {
  min-height: 0;
}
.catalog-page .catalog-hero.site-cover h1 {
  margin-top: 0;
}
.catalog-page .catalog-hero .catalog-hero-art {
  height: auto;
  aspect-ratio: 1118 / 625;
  background: var(--bg);
}
.catalog-page .catalog-hero .catalog-hero-art img {
  height: auto;
  mix-blend-mode: lighten;
}
.catalog-page .catalog-hero .catalog-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--bg), transparent 7%, transparent 98%, var(--bg)),
    linear-gradient(to bottom, var(--bg), transparent 5%, transparent 84%, var(--bg));
}
@media (max-width: 760px) {
  .catalog-page main > .catalog-hero.site-cover { padding-block: 24px; }
  .catalog-page .catalog-hero .cover-inner { gap: 16px; }
}
