.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
    background: var(--white);
}

.brand__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: var(--gray-600);
}

.brand__highlight {
    font-family: 'Amplesoft Pro Bold', sans-serif;
    font-weight: 700;
}

.brand__highlight--blue {
    color: #041E42;
}

.brand__highlight--orange {
    color: #FF8B41;
}

/* Logo carousel (full-bleed, infinite autoplay + drag, moved via transform) */
.brand__carousel {
    --brand-gap: 48px;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 32px;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    border-bottom: 1px solid var(--gray-200);
}

.brand__carousel--dragging {
    cursor: grabbing;
    user-select: none;
}

.brand__list {
    display: flex;
    align-items: center;
    gap: var(--brand-gap);
    width: max-content;
    will-change: transform;
}

.brand__item {
    flex-shrink: 0;
}

.brand__logo {
    display: block;
    width: auto;
    max-width: none;
}

.brand__logo--sm {
    height: 24px;
}

.brand__logo--md {
    height: 32px;
}

.brand__logo--lg {
    height: 36px;
}

.brand__logo--xl {
    height: 44px;
}

@media (min-width: 768px) {
    .brand__title {
        font-size: 32px;
    }

    .brand__break {
        display: none;
    }

    .brand__carousel {
        --brand-gap: 64px;
    }

    .brand__logo--sm {
        height: 32px;
    }

    .brand__logo--md {
        height: 40px;
    }

    .brand__logo--lg {
        height: 48px;
    }

    .brand__logo--xl {
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .brand {
        gap: 48px;
    }

    .brand__carousel {
        --brand-gap: 80px;
    }
}
