/* ventilatorry 2026-10-28: страница производителей /brands/ (module/brandspage). Цвета — как у формы «Подбор» (c4). */
.bp{--bp-blue:#1475c4;--bp-dark:#0f5fa3;--bp-ink:#191919;--bp-sub:#5b6875;--bp-line:#dfe7ef;--bp-soft:#f3f7fb;--bp-yel:#ffb21e;color:var(--bp-ink);margin-bottom:30px}
.bp *{box-sizing:border-box}
.bp a{text-decoration:none}

.bp-hero{background:linear-gradient(120deg,#0f5fa3 0%,#1475c4 45%,#2b8cdb 100%);color:#fff;border-radius:12px;padding:28px 30px 26px;margin:0 0 28px;box-shadow:0 8px 24px rgba(20,117,196,.22)}
.bp-hero h1{color:#fff;font-size:30px;line-height:1.2;font-weight:700;margin:0 0 10px}
.bp-lead{font-size:15.5px;line-height:1.5;margin:0 0 18px;max-width:820px;color:rgba(255,255,255,.9)}
.bp-stats{display:flex;flex-wrap:wrap;gap:10px 34px;margin:0 0 20px}
.bp-stats div{display:flex;align-items:baseline;gap:7px}
.bp-stats b{font-size:26px;font-weight:700;color:var(--bp-yel)}
.bp-stats span{font-size:14px;color:rgba(255,255,255,.85)}
.bp-search{position:relative;display:block;max-width:560px;margin:0}
.bp-search svg{position:absolute;left:14px;top:50%;width:20px;height:20px;margin-top:-10px;color:#7d8a97;pointer-events:none}
.bp-search input{width:100%;height:48px;border:0;border-radius:8px;padding:0 16px 0 44px;font-size:15.5px;color:var(--bp-ink);background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12);outline:0}
.bp-search input:focus{box-shadow:0 0 0 3px var(--bp-yel)}

.bp-h2{font-size:22px;font-weight:700;margin:0 0 14px;color:var(--bp-ink)}
.bp-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 34px}
.bp-tc{display:flex;flex-direction:column;background:#fff;border:1px solid var(--bp-line);border-radius:12px;padding:16px;transition:box-shadow .2s,border-color .2s,transform .2s}
.bp-tc:hover{border-color:#b9d4ee;box-shadow:0 10px 26px rgba(15,95,163,.13);transform:translateY(-2px)}
.bp-tc-head{display:flex;flex-direction:column;color:var(--bp-ink)}
.bp-tc-head:hover,.bp-tc-head:focus{color:var(--bp-ink)}
.bp-tc .bp-logo{height:84px;margin:0 0 12px}
.bp-tc-name{font-size:17px;font-weight:700;line-height:1.25;color:var(--bp-ink)}
.bp-tc-name small{display:block;font-size:12.5px;font-weight:400;color:var(--bp-sub);margin-top:2px}
.bp-tc-head:hover .bp-tc-name{color:var(--bp-blue)}
.bp-meta{display:block;font-size:13px;color:var(--bp-sub);margin-top:5px}
.bp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.bp-chips a{display:inline-block;font-size:12.5px;line-height:1.3;padding:5px 9px;border-radius:14px;background:var(--bp-soft);color:var(--bp-dark);border:1px solid #e1ebf5}
.bp-chips a:hover{background:#e3effa;color:var(--bp-dark);border-color:#c7dcf0}
.bp-all{margin-top:auto;padding-top:12px;font-size:13.5px;font-weight:600;color:var(--bp-blue)}
.bp-all:hover{color:var(--bp-dark);text-decoration:underline}

.bp-logo{display:flex;align-items:center;justify-content:center;height:70px;background:#fff;border-radius:8px;overflow:hidden}
.bp-logo img{max-width:82%;max-height:78%;width:auto;height:auto;object-fit:contain}
.bp-logo i{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#e3effa,#cfe3f6);color:var(--bp-dark);font-style:normal;font-weight:700;font-size:22px;letter-spacing:.02em}

.bp-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.bp-filter button{border:1px solid #cbdcec;background:#fff;color:var(--bp-ink);border-radius:20px;padding:7px 14px;font-size:14px;line-height:1.2;cursor:pointer;transition:background .15s,border-color .15s}
.bp-filter button span{color:var(--bp-sub);font-size:12.5px;margin-left:2px}
.bp-filter button:hover{border-color:var(--bp-blue)}
.bp-filter button.bp-on{background:var(--bp-blue);border-color:var(--bp-blue);color:#fff}
.bp-filter button.bp-on span{color:rgba(255,255,255,.8)}

.bp-abc{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:2px;padding:8px 0;margin:0 0 6px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--bp-line)}
.bp-abc a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 6px;border-radius:6px;font-weight:600;font-size:14px;color:var(--bp-blue)}
.bp-abc a:hover{background:var(--bp-soft);color:var(--bp-dark)}
.bp-abc a.bp-off{color:#c3ccd5;pointer-events:none}

.bp-abc-sep{display:inline-block;width:1px;height:20px;background:var(--bp-line);margin:5px 8px 0}
.bp-list{padding-top:16px}
.bp-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.bp-c{position:relative;display:flex;flex-direction:column;border:1px solid var(--bp-line);border-radius:10px;padding:12px;background:#fff;color:var(--bp-ink);transition:box-shadow .2s,border-color .2s;scroll-margin-top:70px}
.bp-c:hover,.bp-c:focus{border-color:#b9d4ee;box-shadow:0 8px 20px rgba(15,95,163,.12);color:var(--bp-ink)}
.bp-c.bp-first::before{content:attr(data-l);position:absolute;top:-1px;left:-1px;min-width:28px;height:28px;padding:0 6px;border-radius:10px 0 10px 0;background:var(--bp-blue);color:#fff;font-weight:700;font-size:15px;line-height:28px;text-align:center}
.bp-c .bp-logo{margin:0 0 10px}
.bp-c-name{font-weight:700;font-size:15px;line-height:1.25}
.bp-c:hover .bp-c-name{color:var(--bp-blue)}
.bp-c-alt{font-size:12.5px;color:var(--bp-sub);line-height:1.3;margin-top:2px}
.bp-c .bp-meta{margin-top:auto;padding-top:6px;font-size:12.5px}
.bp-empty{padding:18px 0;color:var(--bp-sub);font-size:15px}
.bp-empty a{color:var(--bp-blue);text-decoration:underline}

.bp-text{margin:30px 0 8px;max-width:900px;font-size:15px;line-height:1.6}
.bp-text h2{font-size:22px;font-weight:700;margin:0 0 12px}
.bp-text p{margin:0 0 12px}

@media (max-width:1199px){
  .bp-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:991px){
  .bp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767px){
  .bp-hero{padding:20px 16px;border-radius:10px;margin-bottom:22px}
  .bp-hero h1{font-size:23px}
  .bp-lead{font-size:14.5px}
  .bp-stats{gap:6px 20px}
  .bp-stats b{font-size:21px}
  .bp-stats span{font-size:13px}
  .bp-h2,.bp-text h2{font-size:19px}
  .bp-top{gap:10px}
  .bp-tc{padding:12px}
  .bp-tc .bp-logo{height:60px}
  .bp-tc-name{font-size:15px}
  .bp-chips a{font-size:12px;padding:4px 8px}
  .bp-chips a:nth-child(n+3){display:none}
  .bp-all span{display:none}
  .bp-filter{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-right:-15px;padding-bottom:4px}
  .bp-filter button{flex:0 0 auto}
  .bp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .bp-c{padding:10px}
  .bp-c .bp-logo{height:54px}
  .bp-c-name{font-size:14px}
}
@media (max-width:380px){
  .bp-top{grid-template-columns:minmax(0,1fr)}
}
