/* Portada «Mosaico» — rejilla asimétrica, sin héroe.
 *
 * Se lee saltando de pieza en pieza. Todas las piezas son del mismo material
 * (fondo de tarjeta, mismo borde, mismo radio) y lo que cambia es el tamaño:
 * es lo que hace que se vea ordenado y no como un collage. */
.bento {
  display: grid; gap: 14px; max-width: 1200px; margin: 0 auto; padding: 22px 16px 52px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(132px, auto);
}
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .bento { grid-template-columns: minmax(0,1fr); } }

.bt {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; position: relative; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; justify-content: flex-end;
}
a.bt { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.bt:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--muted-fg); }
a.bt:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ── Marca: la pieza ancha de arriba ─────────────────────────────────────── */
.bt--marca { grid-column: span 2; grid-row: span 2; justify-content: center;
             background: linear-gradient(150deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000));
             color: var(--primary-fg); border-color: transparent; }
@media (max-width: 520px) { .bt--marca { grid-column: span 1; } }
.bt-eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.bt--marca h1 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.06; }
.bt-sub { margin: 0 0 18px; opacity: .9; font-size: 15px; line-height: 1.5; }
.bt-cta { display: flex; gap: 8px; flex-wrap: wrap; }
/* El botón secundario sobre la pieza oscura: sin fondo transparente heredaba
   el claro del motor y quedaba texto blanco sobre blanco — invisible. */
.bt--marca .btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.bt--marca .btn-outline:hover { background: rgba(255,255,255,.14); }

/* ── Producto estrella ───────────────────────────────────────────────────── */
.bt--estrella { grid-column: span 2; grid-row: span 2; padding: 0; }
@media (max-width: 520px) { .bt--estrella { grid-column: span 1; } }
.bt--estrella img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-estrella-txt {
  position: relative; z-index: 2; padding: 20px; width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,.55) 28%, rgba(0,0,0,.92) 72%); color: #fff;
}
.bt-etiq { display: inline-block; background: var(--primary); color: var(--primary-fg);
           font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 7px; margin-bottom: 8px; }
.bt-estrella-txt h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.2; }
.bt-estrella-txt p  { margin: 0; font-size: 14px; opacity: .92; }
.bt-estrella-txt strong { font-size: 21px; }

/* ── Cifra ───────────────────────────────────────────────────────────────── */
.bt--cifra { align-items: center; justify-content: center; text-align: center; }
.bt--cifra strong { display: block; font-size: 40px; line-height: 1; color: var(--primary); }
.bt--cifra span   { font-size: 12.5px; color: var(--muted-fg); margin-top: 6px; }

/* ── Categorías ──────────────────────────────────────────────────────────── */
.bt--cat { min-height: 132px; }
/* La imagen va entera y encima un velo oscuro. Antes se bajaba la opacidad de
   la imagen, y eso la deslavaba Y dejaba el rótulo con poco contraste: lo peor
   de las dos cosas. */
.bt--cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt--cat::before { content: ""; position: absolute; inset: 0; z-index: 1;
                   background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.72)); }
.bt--cat span { position: relative; z-index: 2; font-weight: 700; font-size: 15px; }
.bt--cat:has(img) span { color: #fff; }

/* ── Pagos ───────────────────────────────────────────────────────────────── */
.bt--pagos { grid-column: span 2; justify-content: flex-start; }
@media (max-width: 520px) { .bt--pagos { grid-column: span 1; } }
.bt--pagos h3 { margin: 0 0 10px; font-size: 15px; }
.bt--pagos ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bt--pagos li { border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px;
                font-size: 12.5px; color: var(--muted-fg); }
.bt--pagos a { color: var(--primary); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.bt--pagos a:hover { text-decoration: underline; }

/* ── Productos ───────────────────────────────────────────────────────────── */
.bt--prod { padding: 0; min-height: 178px; }
.bt--prod img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
/* El velo llega ARRIBA del texto, no sólo por detrás.
   Muchas carátulas son casi blancas —las de gruponetpro traen un 91 % de relleno
   blanco— y con un degradado que empieza transparente el nombre del producto caía
   sobre gris claro: 2,55:1 medido. Ahora el bloque tiene su propio fondo opaco al
   final, así que se lee sobre cualquier imagen. */
.bt-prod-txt { position: relative; z-index: 2; padding: 16px 14px 14px;
               background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 45%, rgba(0,0,0,.35) 78%, transparent 100%);
               color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.bt-prod-txt h3 { margin: 0 0 3px; font-size: 14px; line-height: 1.3; }
.bt-prod-txt p  { margin: 0; font-size: 12px; opacity: .9; }
.bt-prod-txt strong { font-size: 16px; }
