/* BM Ideas v2 — galería compacta, features, tarjetas 4/2/2 col, docs y CTA. Sin precios. */
.bi-gallery { margin: 1.25rem 0 1.5rem; }
.bi-gallery-main { margin: 0; border: 1px solid #e7e9ec; border-radius: 10px; overflow: hidden; background: #fff; }
.bi-gallery-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; cursor: zoom-in; }
.bi-gallery-main figcaption { font-size: .82rem; color: #666; padding: .55rem .85rem; }
.bi-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; margin-top: .65rem; }
.bi-gthumb { padding: 0; border: 2px solid #e7e9ec; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.bi-gthumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bi-gthumb.is-active { border-color: #f07c00; }
.bi-gthumb:focus-visible { outline: 2px solid #f07c00; }

.bi-credit { margin: .35rem 0 0; font-size: .78rem; color: #888; }

.bi-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .85rem; margin: 1.25rem 0 1.75rem; }
.bi-feature { display: flex; gap: .65rem; align-items: flex-start; border: 1px solid #e7e9ec; border-radius: 10px; padding: .85rem 1rem; background: #fff; }
.bi-feature-mark { color: #f07c00; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.bi-feature strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.bi-feature p { margin: 0; font-size: .85rem; color: #555; }

.bi-group-title { font-size: 1.25rem; margin: 1.75rem 0 .25rem; padding-bottom: .55rem; border-bottom: 2px solid #e7e9ec; }
.bi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin: 1.15rem 0 1.75rem; }
.bi-card { display: flex; flex-direction: column; border: 1px solid #e7e9ec; border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .15s ease; }
.bi-card:hover, .bi-card:focus-within { box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.bi-photo { aspect-ratio: 1 / 1; background: #f7f7f7; display: flex; align-items: center; justify-content: center; padding: .65rem; }
.bi-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bi-body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.bi-brand { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #f0f0f0; border: 1px solid #e7e9ec; color: #555; border-radius: 999px; padding: .15rem .65rem; }
.bi-name { margin: 0; font-size: .92rem; line-height: 1.35; color: #2f2f2f; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.7em; }
.bi-ref { font-size: .74rem; color: #777; letter-spacing: .03em; }
.bi-desc { margin: 0; font-size: .82rem; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bi-btn { display: block; text-align: center; background: #fff; color: #f07c00; border: 2px solid #f07c00; border-radius: 6px; padding: .55rem .9rem; font-weight: 700; text-decoration: none; font-size: .88rem; margin-top: auto; }
.bi-btn:hover, .bi-btn:focus { background: #f07c00; color: #fff; }

.bi-docs { margin: 1.25rem 0 1.75rem; border: 1px solid #e7e9ec; border-radius: 10px; background: #fff; }
.bi-docs summary { cursor: pointer; font-weight: 700; padding: .9rem 1.1rem; }
.bi-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .75rem; padding: 0 1.1rem 1.1rem; }
.bi-doc { margin: 0; }
.bi-doc img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f7f7f7; border: 1px solid #e7e9ec; border-radius: 6px; cursor: zoom-in; }
.bi-doc figcaption { font-size: .72rem; color: #666; margin-top: .3rem; }

.bi-cta { margin: 2rem 0 1rem; border: 1px solid #f5d5ae; background: #fff8ef; border-radius: 12px; padding: 1.5rem 1.5rem 1.65rem; }
.bi-cta h3 { margin: 0 0 .45rem; font-size: 1.3rem; }
.bi-cta p { margin: 0 0 1rem; }
.bi-cta-btn { background: #f07c00; color: #fff; border: 0; border-radius: 6px; padding: .75rem 1.6rem; font-weight: 700; font-size: 1.02rem; cursor: pointer; }
.bi-cta-btn:hover { background: #d96e00; }

.bi-lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .82); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.bi-lightbox-inner { position: relative; max-width: min(1100px, 96vw); }
.bi-lightbox-inner img { max-width: 100%; max-height: 82vh; display: block; border-radius: 8px; }
.bi-lightbox-caption { color: #fff; text-align: center; margin: .65rem 0 0; font-size: .92rem; }
.bi-lightbox-close { position: absolute; top: -2.2rem; right: 0; background: transparent; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }

@media (max-width: 991px) {
    .bi-grid { grid-template-columns: repeat(2, 1fr); }
    .bi-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 576px) {
    .bi-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .bi-name { font-size: .85rem; min-height: 3.4em; }
    .bi-desc { display: none; }
    .bi-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .bi-features { grid-template-columns: 1fr; }
}
