/*------------------------------------------------------------------
[ AB Logo Wall — редове с лога, които се плъзгат ]
------------------------------------------------------------------*/
.logos {
    padding: 40px 0 100px;
}
.logos .sec-head p {
    color: var(--ab-muted);
}
.lgwall {
    display: grid;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
    mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
}
.lgrow {
    display: flex;
    width: max-content;
    animation: lgslide 46s linear infinite;
}
.lgwall:hover .lgrow {
    animation-play-state: paused;
}
.lgtrack {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 16px 0 0;
    gap: 12px;
    padding-right: 12px;
}
.lg {
    flex: none;
    display: grid;
    place-items: center;
    background: linear-gradient(165deg,#fff,#EEF2FF);
    box-shadow: inset 0 1px 0 #fff,inset 0 0 0 1px rgba(11,16,34,.05),0 26px 44px -32px rgba(30,60,160,.5),0 2px 6px rgba(30,60,160,.07);
    transition: transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;
    min-width: 188px;
    height: 80px;
    padding: 0 28px;
    border-radius: 20px;
}
.lg:hover {
    transform: translateY(-4px);
}
@keyframes lgslide{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce) {
    .lgwall {
        -webkit-mask-image: none;
        mask-image: none;
        padding: 0 20px;
    }
}
@media (prefers-reduced-motion:reduce) {
    .lgrow {
        animation: none;
        width: auto;
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion:reduce) {
    .lgrow .lgtrack {
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion:reduce) {
    .lgrow .lgtrack[aria-hidden="true"] {
        display: none;
    }
}
@media (max-width:980px) {
    .logos {
        padding-bottom: 70px;
    }
}
.lgwall {
    padding: 12px 0 46px;
    margin-bottom: -30px;
    gap: 12px;
}
.lg img {
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) opacity(.5);
    transition: filter .4s ease;
    height: calc(var(--h,40px)*.64);
    max-width: 132px;
}
.lg:hover img {
    filter: none;
}
.lgrow.r1 {
    animation-duration: 60s;
}
.lgrow.r2 {
    animation-duration: 52s;
}
.lgrow.r3 {
    animation-duration: 66s;
    animation-direction: normal;
}
.lgrow.r2 {
    animation-direction: reverse;
}
@media (max-width:980px) {
    .lg {
        min-width: 150px;
        height: 64px;
        padding: 0 20px;
        border-radius: 16px;
    }
}
@media (max-width:980px) {
    .lg img {
        height: calc(var(--h,40px)*.5);
        max-width: 104px;
    }
}
@media (min-width:981px) {
    .lgrow.r1 .lg,
    .lgrow.r2 .lg {
        min-width: 232px;
    }
}
@media (min-width:981px) {
    .lgrow.r3 .lg {
        min-width: 282px;
    }
}
