/* ==========================================================================
   Карточки брендов на /models/ — дизайн скопирован с avtoservice-vip.ru/brendy/
   ========================================================================== */

.brands-sec{background:var(--ink, #191919);color:#fff;padding:58px 0}
.brands-lab{font-size:12px;font-weight:900;letter-spacing:.11em;
  text-transform:uppercase;color:var(--red, #ed1c24)}
.brands-h2{font-size:34px;margin:5px 0 26px;letter-spacing:-.03em;color:#fff}

.brands-rows{display:flex;flex-wrap:wrap;margin-left:-10px;margin-right:-10px}
.bcol{padding-left:10px;padding-right:10px;margin-bottom:20px;width:50%}

/* ---------- карточка ---------- */
.bitem{display:flex;flex-wrap:wrap;height:100%;min-height:210px;position:relative;
  border-radius:5px;color:#fff;background:rgba(255,255,255,.2);
  text-decoration:none;overflow:hidden;transition:all ease-out 300ms}
.bitem:hover{background:var(--red, #ed1c24);border-color:var(--red, #ed1c24);color:#fff}

.bitem-content{position:relative;z-index:2;width:65%;font-size:15px;
  line-height:1.3;padding:47px 25px 40px}
.bitem-title{font-weight:bold;font-size:21px;margin-bottom:14px;line-height:1.2;
  text-transform:uppercase}
.bitem-text{font-size:13px;line-height:1.4;color:rgba(255,255,255,.8);
  transition:color .3s}
.bitem:hover .bitem-text{color:#fff}

/* ---------- стрелка ---------- */
.bitem-arrow{position:absolute;right:15px;top:15px;width:42px;height:42px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  z-index:3;transition:transform .3s,background .3s}
.bitem:hover .bitem-arrow{background:rgba(255,255,255,.5);transform:rotate(45deg)}

/* ---------- логотип бренда: как на avtoservice ---------- */
.brand-logo-bg{position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:46%;max-width:230px;height:68%;display:flex;align-items:center;
  justify-content:flex-end;opacity:.2;pointer-events:none;z-index:1;
  transition:opacity .35s ease-out,transform .4s cubic-bezier(.22,1,.36,1)}
.brand-logo-bg img{max-width:100%;max-height:100%;width:auto;height:auto;
  object-fit:contain;
  filter:grayscale(100%) brightness(1.4)
         drop-shadow(-6px 10px 10px rgba(0,0,0,1))
         drop-shadow(0 4px 6px rgba(0,0,0,1))}
.bitem:hover .brand-logo-bg{opacity:.7;transform:translate(-34px,-60%) scale(1.16)}

/* ---------- адаптив: как на avtoservice ---------- */
@media(max-width:899px){
  .bcol{width:100%}
  .bitem-content{width:70%;font-size:14px;padding:40px 20px 30px}
  .bitem-title{font-size:18px;margin-bottom:12px}
  .bitem-arrow{width:50px;height:50px}
  .brand-logo-bg{width:58%;max-width:240px;height:72px;top:auto;bottom:2px;
    transform:none;opacity:.3}
  .bitem:hover .brand-logo-bg{transform:translate(-30px,-56px) scale(1.12)}
}
@media(max-width:559px){
  .brands-sec{padding:38px 0}
  .brands-h2{font-size:25px;margin-bottom:18px}
  .bitem-content{width:78%;padding:30px 20px 26px}
  .bitem-title{font-size:17px}
}

/* ---------- доступность ---------- */
@media(prefers-reduced-motion:reduce){
  .bitem,.bitem-arrow,.brand-logo-bg,.bitem-text{transition:none}
  .bitem:hover .brand-logo-bg{transform:translate(-34px,-50%)}
  .bitem:hover .bitem-arrow{transform:none}
}
