/* Общий блок продуктов: отчёты, каталог и интерактивные фотографии. */
.bbh-products {
    box-sizing: border-box; margin: 32px 0 0; padding: clamp(22px, 3.5vw, 44px);
    border: 1px solid #d6e2d7; border-radius: 24px; background: #edf3ee;
    color: #1b303a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5; text-align: left;
}
.bbh-products *, .bbh-products *::before, .bbh-products *::after { box-sizing: border-box; }
.bbh-products .bbh-products-eyebrow {
    margin: 0 0 12px; color: #237a54; font-size: 12px; font-weight: 750; letter-spacing: 1.5px;
}
.bbh-products h2 { margin: 0; color: #1b303a; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.bbh-products .bbh-products-intro { margin: 14px 0 26px; color: #607269; font-size: 16px; }
.bbh-products-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bbh-products a.bbh-product-card {
    grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-width: 0;
    padding: 24px; color: #1b303a; background: #fff; border: 1px solid #d6e2d7; border-radius: 16px;
    text-decoration: none; box-shadow: none; transition: border-color .15s, background .15s;
}
.bbh-products .bbh-product-card:nth-last-child(-n+2) { grid-column: span 3; }
.bbh-products a.bbh-product-card:hover { border-color: #237a54; background: #f9fcf8; }
.bbh-products a.bbh-product-card:focus-visible { outline: 3px solid #237a54; outline-offset: 4px; }
.bbh-product-audience { color: #607269; font-size: 12px; font-weight: 600; }
.bbh-product-name { font-size: 20px; line-height: 1.35; font-weight: 700; overflow-wrap: normal; word-break: normal; }
.bbh-product-go { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px;
    color: #237a54; font-size: 14px; font-weight: 700; }
.bbh-product-go span { font-size: 22px; line-height: 1; }
.bbh-products-footer { max-width: 1348px; width: calc(100% - 92px); margin: 0 auto 32px; }
.bbh-public-catalog .public-room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.bbh-public-catalog .project-info h3 { font-size: 25px; }
.bbh-public-catalog .project-card { margin-top: 32px; min-width: 0; }
@media (max-width: 950px) {
    .bbh-products-footer { width: calc(100% - 50px); }
    .bbh-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bbh-products a.bbh-product-card, .bbh-products .bbh-product-card:nth-last-child(-n+2) { grid-column: auto; }
    .bbh-products .bbh-product-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .bbh-products { border-radius: 18px; }
    .bbh-products-grid, .bbh-public-catalog .public-room-grid { grid-template-columns: minmax(0, 1fr); }
    .bbh-products a.bbh-product-card { padding: 20px; gap: 10px; }
    .bbh-product-name { font-size: 18px; }
    .bbh-products-footer { width: calc(100% - 36px); }
    .bbh-public-catalog.catalog { padding: 36px 18px; }
    .bbh-public-catalog.catalog h1 { font-size: 42px; letter-spacing: -1.5px; }
}

/* Единая навигация в шапке отчётов и интерактивных фотографий. */
.bbh-material-navigation {
    display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
    gap: 10px 22px; min-width: 0;
}
.bbh-material-navigation a.material-nav-link, .bbh-header-brand .bbh-material-navigation a.material-nav-link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0;
    color: #607269; text-decoration: none; font-size: 14px; line-height: 1.4;
    font-weight: 500; min-width: 0; padding: 5px 0;
}
.bbh-material-navigation a.material-nav-link:hover { color: #237a54; text-decoration: underline; }
.bbh-material-navigation a:focus-visible { outline: 3px solid #237a54; outline-offset: 4px; }
.bbh-material-navigation .material-nav-telegram {
    display: inline-grid; place-items: center; width: 24px; height: 24px;
    border-radius: 50%; background: #229ed9; flex-shrink: 0;
}
.bbh-material-navigation .material-nav-telegram svg { display: block; width: 16px; height: 16px; }
.bbh-material-navigation .material-nav-chart { font-size: 21px; line-height: 1; flex-shrink: 0; }
.brand.bbh-header-brand, header.bbh-catalog-header {
    display: grid; grid-template-columns: 240px minmax(0, 1fr) 84px;
    column-gap: 24px; row-gap: 0; align-items: center;
}
.brand.bbh-header-brand > .logo, .bbh-catalog-header > .logo { grid-column: 1; grid-row: 1; }
.brand.bbh-header-brand > div, .bbh-catalog-header > .caption { grid-column: 1; grid-row: 2; }
.brand.bbh-header-brand > .qr-link, .bbh-catalog-header > .qr {
    grid-column: 3; grid-row: 1 / span 2; margin: 0; justify-self: end;
}
.brand.bbh-header-brand > .bbh-material-navigation, .bbh-catalog-header > .bbh-material-navigation {
    grid-column: 2; grid-row: 1 / span 2;
}
@media (max-width: 1000px) {
    .brand.bbh-header-brand, header.bbh-catalog-header { grid-template-columns: minmax(0, 1fr) 68px; }
    .brand.bbh-header-brand > .qr-link, .bbh-catalog-header > .qr { grid-column: 2; }
    .brand.bbh-header-brand > .bbh-material-navigation, .bbh-catalog-header > .bbh-material-navigation {
        grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; margin-top: 12px;
    }
}
@media (max-width: 640px) {
    .bbh-material-navigation { gap: 4px 18px; justify-content: flex-start; }
    .bbh-material-navigation a.material-nav-link, .bbh-header-brand .bbh-material-navigation a.material-nav-link {
        font-size: 13px;
    }
    .bbh-material-navigation .material-nav-chart { font-size: 19px; }
}
