/* Homepage partners, clients & results */

.trust-section {
    background: #fff;
    padding: 88px 0 96px;
}

.trust-section .container {
    max-width: 1140px;
}

.trust-intro {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.trust-kicker {
    margin: 0 0 12px;
    color: #5b8def;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.trust-intro h2 {
    margin: 0;
    color: #111;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.trust-partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.trust-partner {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
}

.trust-mark {
    width: 64px;
    height: 64px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-mark--eccc {
    background: #2f6bff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.trust-mark--mc {
    background: #111;
    position: relative;
}

.trust-mark--mc::before,
.trust-mark--mc::after {
    content: '';
    position: absolute;
    top: 22px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.trust-mark--mc::before {
    left: 14px;
    background: #eb001b;
}

.trust-mark--mc::after {
    left: 28px;
    background: #f79e1b;
}

.trust-partner h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.trust-partner p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.trust-partner-link {
    color: #2f6bff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.trust-partner-link:hover,
.trust-partner-link:focus {
    color: #1E3370;
    text-decoration: none;
}

.trust-logos-label {
    margin: 0 0 20px;
    color: var(--text-color-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 48px;
    padding: 32px 28px;
    background: var(--background-color-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.trust-logo img {
    max-width: 100%;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* PNGs ship on black — invert so logos read on the light strip */
    filter: invert(1) grayscale(1) brightness(0.5) contrast(1.2);
    opacity: 0.82;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.trust-logo:hover img {
    opacity: 1;
    filter: invert(1) grayscale(1) brightness(0.38) contrast(1.25);
}

.trust-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.trust-quote {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    background: var(--text-color-alt-1);
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.trust-quote::before {
    content: '“';
    display: block;
    margin-bottom: 8px;
    color: rgba(249, 206, 48, 0.45);
    font-size: 42px;
    line-height: 0.8;
}

.trust-quote blockquote {
    margin: 0 0 28px;
    color: var(--important-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.trust-quote-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.trust-person {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.trust-metric {
    color: var(--brand-blue);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.trust-metric-note {
    display: block;
    margin-top: 2px;
    color: var(--text-color-muted);
    font-size: 13px;
    font-weight: 500;
}

.trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: var(--background-color-light);
    color: var(--text-color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.trust-role {
    color: var(--text-color-muted);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .trust-section {
        padding: 56px 0 64px;
    }

    .trust-intro h2 {
        font-size: 24px;
    }

    .trust-partners,
    .trust-quotes {
        grid-template-columns: 1fr;
    }

    .trust-logos {
        grid-template-columns: 1fr 1fr;
        padding: 24px 16px;
        gap: 20px 16px;
    }

    .trust-logo img {
        max-height: 36px;
    }
}

@media (max-width: 767px) {
    .trust-intro h2 {
        font-size: 22px;
    }

    .trust-partner {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
