/* =========================================================
   FILE: social_proof.css
   VERSION: 3
   PURPOSE: Homepage social proof section
   ========================================================= */

/* SECTION */

.social_proof_section
{
    position: relative;
    z-index: 5;
}

/* MINT BACKGROUND */

.social_proof_container
{
    position: relative;
    margin-top: -128px;
    background: linear-gradient(180deg, #e8f7f3 0%, #d9f0ea 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid #454545;
    border-bottom: 1px solid #454545;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

/* HEADER */

.social_header
{
    max-width: 50rem;
}

/* SUMMARY */

.social_summary
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* RATING */

.social_rating
{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social_rating_score
{
    font-size: 2.5rem;
    font-weight: var(--weight-heavy);
    color: #111;
}

.social_rating_text strong
{
    display: block;
    font-size: 1rem;
}

.social_rating_text span
{
    font-size: 0.85rem;
    opacity: 0.7;
}

/* TRUSTPILOT LOGO */

.social_trustpilot_logo img
{
    height: 40px;
}

/* REVIEWS */

.social_reviews
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.social_review_card
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.4rem;
    box-shadow:
        0 6px 12px rgba(0,0,0,0.15),
        0 2px 4px rgba(0,0,0,0.08);
}

.social_review_card p
{
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.social_review_card span
{
    font-size: 0.85rem;
    font-weight: var(--weight-medium);
}

/* CTA */

.social_footer
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2rem;
}

.social_button_outline
{
    border: 1px solid #454545 !important;
}

/* RESPONSIVE */

@media (max-width: 1023px)
{
    .social_reviews
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px)
{
    .social_proof_container
    {
        margin-top: 0;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .social_summary
    {
        flex-direction: column;
        gap: 1rem;
    }

    .social_reviews
    {
        grid-template-columns: 1fr;
    }

    .social_footer
    {
        flex-direction: column;
        align-items: stretch;
    }

    .social_footer .button
    {
        width: 100%;
        text-align: center;
    }
}