/* =========================
   SUPPORT SECTION (COMPONENT)
========================= */

.support-section {
    background: transparent;
}

/* Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.support-grid-track {
    display: contents; /* 👈 CRITICAL FIX: restores grid on desktop */
}
/* Card */
.support-card {
    background: #ffffff;
    border-radius: 18px;

    height: 140px;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.03);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Logos */
.support-card img {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
}

/* DESKTOP: hide clones and keep grid intact */
.clone {
    display: none;
}

/* MOBILE ONLY slider */
@media (max-width: 1160px) {
    .support-grid {
        overflow: hidden;
    }

    .support-grid-track {
        display: flex;
        gap: 16px;
        width: max-content;
        animation: scrollSupport 18s linear infinite;
    }

    .support-card {
        flex: 0 0 220px;
    }

    /* show duplicates only on mobile */
    .clone {
        display: flex;
    }
}

/* Animation */
@keyframes scrollSupport {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
