:root {
    --customer-card-border-radius: var(--border-radius, 16px);
    --customer-card-border: rgba(15, 23, 42, 0.08);
    --customer-overlay-bg: rgba(15, 23, 42, 0.82);
}

.customers-showcase-section {
    background-color: var(--component-bg-color, #f8fafc);
    padding-top: 56px;
    padding-bottom: 56px;
}

    .customers-showcase-section .section-title,
    .customers-showcase-section .section-title-landing {
        display: block;
        text-align: center;
        max-width: 720px;
        margin: 0 auto 32px;
    }

    .customers-showcase-section .section-title p,
    .customers-showcase-section .section-title-landing p {
        margin-top: 12px;
        color: var(--muted-text-color, #64748b);
        font-size: 1rem;
        line-height: 1.8;
    }

.customers-showcase-grid {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.customers-showcase-grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customers-showcase-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-card {
    background-color: #ffffff;
    border: 1px solid var(--customer-card-border);
    border-radius: var(--customer-card-border-radius);
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

    .customer-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    }

.customer-logo-wrapper {
    width: 100%;
    height: 120px;
    border-radius: calc(var(--customer-card-border-radius) - 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .customer-logo-wrapper img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.25s ease;
    }

    .customer-card:hover .customer-logo-wrapper img {
        transform: scale(1.04);
    }

.customer-logo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, var(--customer-overlay-bg) 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}

.customer-card:hover .customer-logo-overlay,
.customer-card:focus-within .customer-logo-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .customers-showcase-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .customers-showcase-grid {
        gap: 18px;
        margin-top: 32px;
    }

    .customers-showcase-grid--cols-4,
    .customers-showcase-grid--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-logo-wrapper {
        height: 110px;
    }
}

@media (max-width: 480px) {
    .customers-showcase-grid--cols-4,
    .customers-showcase-grid--cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .customer-card {
        padding: 16px;
    }

    .customer-logo-wrapper {
        height: 100px;
    }
}
