:root {
    --Accent-Default: #00B1BA;
    --Text-Dark: #292A2A;
    --Text-Light-Gray: #CACCD0;
    --BG-Gray: #F3F4F5;
    --Gray: #DEE2E3;
    --White: white;
}

* { box-sizing: border-box; }

.partners-section {
    background: var(--White);
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
}

.partners-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 0px;
}

/* ЗАГОЛОВОК И СТРЕЛКИ */
.partners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.partners-title {
    color: var(--Text-Dark) !important;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.partners-nav {
    display: flex;
    gap: 12px;
}

.partner-arrow {
    width: 48px;
    height: 48px;
    background: var(--BG-Gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.partner-arrow:hover {
    background: #e1e4e6;
}

.partner-arrow:active {
    transform: scale(0.95);
}

/* СЛАЙДЕР */
.partners-swiper {
    overflow: hidden;
}

.partner-slide {
    /* Ширина автоподстраивается через swiper breakpoints */
}

.partner-logo-box {
    width: 100%;
    height: 100px;
    background: var(--White);
    border: 1px solid var(--Gray);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%); /* Логотипы обычно делают серыми, чтобы при наведении подсветить */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.no-logo-text {
    color: var(--Text-Light-Gray);
    font-size: 24px;
    font-weight: 600;
}

/* АДАПТИВНОСТЬ (МОБИЛКИ) */
@media (max-width: 768px) {
    .partners-section {
        padding: 48px 0;
    }
    .partners-title {
        font-size: 24px;
    }
    .partners-header {
        margin-bottom: 24px;
    }
    .partner-arrow {
        width: 40px;
        height: 40px;
    }
    .partner-arrow svg {
        width: 20px;
        height: 20px;
    }
    .partner-logo-box {
        height: 80px;
        padding: 16px;
    }
}