/* ===== Our Partners (Frame 244) ===== */
.partners {
    width: 100%;
    background: #FFFFFF;
    padding: 60px 0 90px;
    display: flex;
    justify-content: center;
}

.partners__inner {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 56px;
}

/* --- Header --- */
.partners__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.partners__bar {
    flex: none;
    width: 6px;
    align-self: stretch;
    min-height: 90px;
    border-radius: 3px;
    background: linear-gradient(180deg, #CF8E00 0%, #064700 100%);
}

.partners__head-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.partners__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
    text-transform: uppercase;
    color: #363636;
}

.partners__subtitle {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #363636;
}

/* --- Logo grid --- */
.partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 52px 28px;
    align-items: center;
    justify-items: center;
}

.partners__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.partners__logo img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    display: block;
}

.partners__logo:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .partners { padding: 40px 0 60px; }
    .partners__inner { gap: 40px; }
    .partners__title { font-size: 32px; line-height: 44px; }
    .partners__grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 36px 20px;
    }
    .partners__logo,
    .partners__logo img { height: 56px; max-height: 56px; }
}
