.brand-showcase {
    padding: clamp(72px, 8vw, 120px) 24px;
    background: #fff;
    color: #161616;
}

.brand-showcase-header {
    width: min(1480px, 100%);
    margin: 0 auto clamp(46px, 6vw, 76px);
    text-align: center;
}

.brand-showcase-kicker {
    margin-bottom: 12px;
    color: #32c6ff !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .22em;
}

.brand-showcase-header h2 {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.25;
    font-weight: 700;
}

.brand-showcase-header > p:last-child {
    margin-top: 16px;
    color: #777;
    font-size: 15px;
    line-height: 1.8;
}

.brand-showcase-groups {
    width: min(1480px, 100%);
    margin: 0 auto;
}

.brand-showcase-group + .brand-showcase-group {
    margin-top: clamp(70px, 8vw, 112px);
}

.brand-showcase-group h3 {
    margin: 0 0 34px;
    text-align: center;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.4;
    font-weight: 700;
}

.brand-showcase-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 22px;
}

.brand-showcase-card {
    min-width: 0;
    min-height: 104px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #242424;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(20, 30, 40, .07);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.brand-showcase-card[hidden] {
    display: none;
}

.brand-showcase-card:hover {
    border-color: #32c6ff;
    box-shadow: 0 12px 30px rgba(50, 198, 255, .16);
    transform: translateY(-3px);
}

.brand-showcase-card:focus-visible,
.brand-showcase-more button:focus-visible {
    outline: 3px solid rgba(50, 198, 255, .32);
    outline-offset: 4px;
}

.brand-showcase-card img {
    width: 100%;
    height: 84px;
    object-fit: contain;
}

.brand-showcase-card span {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.brand-showcase-more {
    margin-top: 34px;
    text-align: center;
}

.brand-showcase-more[hidden] {
    display: none;
}

.brand-showcase-more button {
    min-width: 188px;
    padding: 14px 34px;
    color: #fff;
    background: #171717;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background .2s ease, transform .2s ease;
}

.brand-showcase-more button::after {
    content: '›';
    display: inline-block;
    margin-left: 9px;
    transform: rotate(90deg);
    transition: transform .25s ease;
}

.brand-showcase-more button[aria-expanded='true']::after {
    transform: rotate(-90deg);
}

.brand-showcase-more button:hover {
    background: #000;
    transform: translateY(-2px);
}

.brand-showcase-noscript {
    margin-top: 32px;
    text-align: center;
}

@media (max-width: 1200px) {
    .brand-showcase-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 1024px) {
    .brand-showcase-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }

    .brand-showcase-card {
        min-height: 92px;
    }
}

@media (max-width: 768px) {
    .brand-showcase {
        padding: 64px 16px;
    }

    .brand-showcase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .brand-showcase-card {
        min-height: 78px;
        padding: 10px;
        border-radius: 9px;
    }

    .brand-showcase-card img {
        height: 56px;
    }
}

@media (max-width: 520px) {
    .brand-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-showcase-header {
        margin-bottom: 48px;
    }

    .brand-showcase-group + .brand-showcase-group {
        margin-top: 64px;
    }

    .brand-showcase-group h3 {
        margin-bottom: 24px;
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-showcase-card,
    .brand-showcase-more button {
        transition: none;
    }
}

