/* =========================================
   SOCIAL PROOF CSS (SECTION 3)
   ========================================= */

.social-proof {
    padding: 100px 0;
    background-color: var(--color-white);
}

.social-proof-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 60px;
}

.trust-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Avatar Group */
.trust-avatars-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    margin-right: -16px;
    object-fit: cover;
}

.avatar:last-child {
    margin-right: 0;
}

.avatar-plus {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    background-color: var(--color-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-left: -16px;
    z-index: 4;
}

.trust-reviews {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* Right text */
.trust-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 500px;
    justify-self: end;
}

/* Logos Carousel (Infinite Ticker) */
.partner-logos-wrapper {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 50px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 15vw; /* gap between logos */
    animation: scrollLogos 25s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #a0a0a0;
    transition: color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    filter: grayscale(100%);
    opacity: 0.6;
    white-space: nowrap;
}

.logo-item:hover {
    color: var(--color-navy);
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7.5vw)); } /* shift exactly half the tracker width */
}

@media (max-width: 992px) {
    .social-proof-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .trust-description {
        justify-self: start;
    }
}
