﻿.partnerstrip-section {
    position: relative;
    overflow: hidden;
    margin: -18px 0 0 0;
    padding: 56px 0 0 0;
    border-top-left-radius: 68px;
    border-top-right-radius: 68px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: radial-gradient(920px 320px at 50% -10%, rgba(255,255,255,.58) 0%, rgba(255,255,255,.20) 42%, rgba(255,255,255,0) 72%), radial-gradient(720px 260px at 12% 22%, rgba(255,255,255,.34) 0%, rgba(255,255,255,.10) 38%, rgba(255,255,255,0) 72%), radial-gradient(760px 260px at 88% 100%, rgba(15,15,16,.045) 0%, rgba(15,15,16,.018) 42%, rgba(15,15,16,0) 72%), linear-gradient(to bottom, #e9e4de 0%, #e2ddd6 42%, #d8d1c8 74%, #e0d8cf 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.58), inset 0 -38px 70px rgba(15,15,16,.035);
    isolation: isolate;
}

    .partnerstrip-section::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 76%, rgba(255,255,255,.08) 100%), linear-gradient(to right, rgba(15,15,16,.010) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,15,16,.010) 1px, transparent 1px);
        background-size: 100% 100%, 38px 38px, 38px 38px;
        opacity: .14;
    }

    .partnerstrip-section::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 14px;
        transform: translateX(-50%);
        width: min(1360px, calc(100% - 64px));
        height: calc(100% - 14px);
        border-radius: 52px 52px 0 0;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255,255,255,.20), rgba(255,255,255,0) 38%), radial-gradient(circle at 50% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 62%);
        opacity: .56;
    }

.partnerstrip-title {
    position: relative;
    z-index: 4;
    margin: 0 auto 32px auto;
    padding: 0 20px;
    text-align: center;
}

    .partnerstrip-title h2 {
        position: relative;
        display: inline-block;
        margin: 0;
        color: #111214;
        font-size: clamp(40px, 3.4vw, 58px);
        line-height: .92;
        letter-spacing: -.07em;
        font-weight: 820;
        text-wrap: balance;
        text-shadow: 0 2px 18px rgba(255,255,255,.22);
    }

        .partnerstrip-title h2::before {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -22px;
            width: 132px;
            height: 28px;
            border-radius: 999px;
            background: radial-gradient(ellipse at center, rgba(15,15,16,.12) 0%, rgba(15,15,16,.04) 44%, rgba(15,15,16,0) 72%);
            transform: translateX(-50%);
            filter: blur(8px);
            opacity: .72;
        }

        .partnerstrip-title h2::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -14px;
            width: 64px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(to right, rgba(193,17,26,0), rgba(193,17,26,.72), rgba(193,17,26,0));
            transform: translateX(-50%);
        }

.partnerstrip {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 24px 0 28px 0;
    border-radius: 38px 38px 0 0;
    background: radial-gradient(900px 220px at 50% 0%, rgba(255,255,255,.32) 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,0) 72%), linear-gradient(to bottom, rgba(255,255,255,.24) 0%, rgba(255,255,255,.13) 48%, rgba(15,15,16,.035) 100%);
    border-top: 1px solid rgba(255,255,255,.46);
    border-left: 1px solid rgba(255,255,255,.22);
    border-right: 1px solid rgba(255,255,255,.22);
    border-bottom: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.48), inset 0 -18px 32px rgba(15,15,16,.030), 0 -18px 48px rgba(255,255,255,.10);
    backdrop-filter: blur(14px) saturate(1.04);
    -webkit-backdrop-filter: blur(14px) saturate(1.04);
}

    .partnerstrip::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255,255,255,.24) 0%, rgba(255,255,255,0) 24%, rgba(255,255,255,0) 78%, rgba(255,255,255,.08) 100%);
        opacity: .9;
    }

    .partnerstrip::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: min(1280px, calc(100% - 52px));
        height: 100%;
        border-radius: 42px 42px 0 0;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,0) 38%);
        opacity: .36;
    }

.partnerstrip-inner {
    position: relative;
    z-index: 3;
    width: min(1320px, calc(100% - 38px));
    margin: 0 auto;
    padding: 0 28px;
}

.partnerstrip-upload {
    position: absolute;
    top: -8px;
    right: 28px;
    z-index: 8;
}

.partnerstrip-upload-btn {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    background: radial-gradient(circle at 28% 18%, rgba(255,255,255,.22), rgba(255,255,255,0) 42%), linear-gradient(to bottom, #e42b38 0%, #c1111a 100%);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 18px 34px rgba(193,17,26,.24), 0 8px 18px rgba(15,15,16,.12), inset 0 1px 0 rgba(255,255,255,.20);
    transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, filter .24s ease;
}

    .partnerstrip-upload-btn:hover {
        transform: translateY(-3px) scale(1.02);
        filter: brightness(1.02);
        box-shadow: 0 26px 46px rgba(193,17,26,.28), 0 10px 22px rgba(15,15,16,.14), inset 0 1px 0 rgba(255,255,255,.24);
    }

.partnerstrip-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: max(190px, calc(((100vw - 100%) / 2) + 190px));
    z-index: 5;
    pointer-events: none;
}

    .partnerstrip-mask.left {
        left: calc((100% - 100vw) / 2);
        background: linear-gradient(to right, rgba(224,216,207,.95) 0%, rgba(224,216,207,.76) 42%, rgba(224,216,207,.36) 74%, rgba(224,216,207,0) 100%);
    }

    .partnerstrip-mask.right {
        right: calc((100% - 100vw) / 2);
        background: linear-gradient(to left, rgba(224,216,207,.95) 0%, rgba(224,216,207,.76) 42%, rgba(224,216,207,.36) 74%, rgba(224,216,207,0) 100%);
    }
.partnerstrip-track {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: partnerstrip-scroll 62s linear infinite;
    will-change: transform;
}

.partnerstrip:hover .partnerstrip-track {
    animation-play-state: paused;
}

.partnerstrip-logo {
    position: relative;
    flex: 0 0 auto;
    width: clamp(148px, 10.5vw, 178px);
    height: clamp(94px, 7.1vw, 114px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 26px;
    background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 38%, rgba(250,248,245,.92) 72%, rgba(240,235,229,.88) 100%), linear-gradient(to bottom, #ffffff 0%, #fcfbf9 58%, #f3eee8 100%);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 22px 46px rgba(15,15,16,.055), 0 8px 16px rgba(15,15,16,.030), inset 0 1px 0 rgba(255,255,255,.96), inset 0 -12px 18px rgba(15,15,16,.012);
    backdrop-filter: blur(16px) saturate(1.04);
    -webkit-backdrop-filter: blur(16px) saturate(1.04);
    transition: transform .34s cubic-bezier(.22,1,.36,1), box-shadow .34s cubic-bezier(.22,1,.36,1), border-color .28s ease, background .28s ease, filter .28s ease;
}

    .partnerstrip-logo::before {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        top: 10px;
        bottom: 10px;
        border-radius: 20px;
        background: linear-gradient(to bottom, rgba(255,255,255,.82) 0%, rgba(255,255,255,.54) 42%, rgba(255,255,255,.22) 100%);
        pointer-events: none;
        opacity: .95;
    }

    .partnerstrip-logo::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.68), inset 0 -12px 18px rgba(15,15,16,.016);
    }

    .partnerstrip-logo:hover {
        transform: translateY(-8px) scale(1.025);
        border-color: rgba(255,255,255,1);
        background: radial-gradient(circle at 50% 42%, rgba(255,255,255,1) 0%, rgba(255,255,255,.98) 42%, rgba(252,250,247,.96) 74%, rgba(243,238,232,.92) 100%), linear-gradient(to bottom, #ffffff 0%, #fdfcfb 58%, #f4efe9 100%);
        box-shadow: 0 42px 86px rgba(15,15,16,.085), 0 16px 30px rgba(15,15,16,.044), 0 4px 10px rgba(15,15,16,.024), inset 0 1px 0 rgba(255,255,255,1), inset 0 -14px 20px rgba(15,15,16,.016);
    }

    .partnerstrip-logo img {
        position: relative;
        z-index: 3;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
        display: block;
        filter: grayscale(.08) contrast(1.02) opacity(.94) drop-shadow(0 8px 14px rgba(15,15,16,.045));
        transition: filter .28s ease, transform .28s cubic-bezier(.22,1,.36,1);
    }

    .partnerstrip-logo:hover img {
        filter: grayscale(0) contrast(1.04) opacity(1) drop-shadow(0 10px 18px rgba(15,15,16,.055));
        transform: scale(1.035);
    }

.partnerstrip-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 7;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    background: rgba(15,15,16,.68);
    box-shadow: 0 8px 16px rgba(0,0,0,.16);
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

    .partnerstrip-delete:hover {
        transform: scale(1.08);
        background: rgba(193,17,26,.94);
        box-shadow: 0 12px 24px rgba(193,17,26,.18);
    }

@keyframes partnerstrip-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {
    .partnerstrip-section {
        margin: 36px 0 0 0;
        padding: 38px 0 0 0;
        border-top-left-radius: 52px;
        border-top-right-radius: 52px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        background: radial-gradient(620px 220px at 50% -8%, rgba(255,255,255,.50) 0%, rgba(255,255,255,.18) 42%, rgba(255,255,255,0) 72%), linear-gradient(to bottom, #e7e1da 0%, #ded7ce 58%, #e0d8cf 100%);
    }

        .partnerstrip-section::after {
            width: calc(100% - 24px);
            border-radius: 38px 38px 0 0;
        }

    .partnerstrip-title {
        padding: 0 16px;
        margin-bottom: 24px;
    }

        .partnerstrip-title h2 {
            font-size: clamp(30px, 7vw, 42px);
            letter-spacing: -.06em;
        }

    .partnerstrip {
        padding: 20px 0 24px 0;
        border-radius: 30px 30px 0 0;
    }

        .partnerstrip::after {
            width: calc(100% - 22px);
            border-radius: 28px 28px 0 0;
        }

    .partnerstrip-inner {
        width: calc(100% - 14px);
        padding: 0 12px;
    }

    .partnerstrip-upload {
        top: -6px;
        right: 12px;
    }

    .partnerstrip-upload-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .partnerstrip-mask {
        width: 54px;
    }

    .partnerstrip-track {
        gap: 18px;
        animation-duration: 48s;
    }

    .partnerstrip-logo {
        width: 152px;
        height: 108px;
        border-radius: 24px;
        padding: 10px;
    }
}

@media (max-width: 640px) {
    .partnerstrip-section {
        margin: 28px 0 0 0;
        padding: 30px 0 0 0;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        background: radial-gradient(420px 180px at 50% -10%, rgba(255,255,255,.46) 0%, rgba(255,255,255,.16) 42%, rgba(255,255,255,0) 72%), linear-gradient(to bottom, #e6e0d8 0%, #ddd5cc 58%, #e0d8cf 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.50);
    }

        .partnerstrip-section::after {
            width: calc(100% - 12px);
            border-radius: 32px 32px 0 0;
        }

    .partnerstrip-title {
        margin-bottom: 22px;
    }

        .partnerstrip-title h2 {
            font-size: clamp(27px, 7.8vw, 34px);
            line-height: .94;
        }

            .partnerstrip-title h2::before {
                bottom: -18px;
                width: 98px;
                height: 22px;
            }

            .partnerstrip-title h2::after {
                bottom: -10px;
                width: 46px;
            }

    .partnerstrip {
        padding: 14px 0 20px 0;
        border-radius: 26px 26px 0 0;
        background: linear-gradient(to bottom, rgba(255,255,255,.20) 0%, rgba(255,255,255,.11) 52%, rgba(15,15,16,.030) 100%);
    }

    .partnerstrip-inner {
        width: 100%;
        padding: 0 8px;
    }

    .partnerstrip-mask {
        width: 38px;
    }

        .partnerstrip-mask.left {
            left: -18px;
        }

        .partnerstrip-mask.right {
            right: -18px;
        }

    .partnerstrip-track {
        gap: 12px;
        animation-duration: 42s;
    }

    .partnerstrip-logo {
        width: 124px;
        height: 86px;
        border-radius: 18px;
        padding: 8px;
        background: linear-gradient(to bottom, #ffffff 0%, #fbfaf8 100%);
        border: 1px solid rgba(255,255,255,.92);
        box-shadow: 0 16px 34px rgba(15,15,16,.055), inset 0 1px 0 rgba(255,255,255,1);
    }

        .partnerstrip-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transform: none;
        }

        .partnerstrip-logo::before {
            left: 8px;
            right: 8px;
            top: 0;
            height: 48px;
            border-bottom-left-radius: 18px;
            border-bottom-right-radius: 18px;
        }

      
}

@media (prefers-reduced-motion: reduce) {
    .partnerstrip-track,
    .partnerstrip-logo,
    .partnerstrip-logo img,
    .partnerstrip-upload-btn,
    .partnerstrip-delete {
        animation: none !important;
        transition: none !important;
    }
}
