/* Styles for the Testimonials Section */
.testimonials-section {
    padding: 0;

    /* Use design token */



    .container {
        /* max-width: 1140px; */
        /* max-width: var(--container-width-big); */
        /* max-width: var(--container-width); */
        margin: 0 auto;
        padding: 0 var(--space-md);
        /* Use design token */
        text-align: center;
        max-width: var(--container-width-big);

    }

    /* h2 styling is handled globally by design-system.css */
    .title {
        margin-bottom: var(--space-sm);
        /* Adjust spacing */
    }

    .subtitle {
        /* Typography handled via .body-14 utility */
        color: var(--color-text-secondary);
        margin-bottom: var(--space-lg);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Stats Section */
    .testimonial-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-lg);
        margin-bottom: var(--space-xl);
        padding: var(--space-md);
        background-color: var(--color-bg);
        /* Slightly different background */
    }

    .stat-item {
        text-align: center;
        min-width: 120px;
        /* Ensure items don't get too squished */
    }

    .stat-value {
        display: block;
        /* Typography handled via .hl-24 utility */
        margin-bottom: var(--space-xs);
    }

    .stat-label {
        display: block;
        /* Typography handled via .body-12 utility */
        color: var(--color-text-secondary);
        text-transform: uppercase;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-md);
        text-align: left;
        margin-bottom: var(--space-xl);
        align-items: stretch;
        /* Explicitly ensure items are stretched */
    }

    /* .testimonial-card uses .card styles now */
    .testimonial-card {
        padding: var(--space-xl) var(--space-lg) var(--space-lg);
        background-color: var(--color-bg);
        position: relative;
        display: flex;
        /* Ensure it's a flex container */
        flex-direction: column;
        /* Stack children vertically */
        min-height: 0;
        /* Added for grid item + flex container behavior */
        /* Removed subgrid properties */
    }


    /* .testimonial-card blockquote styles */
    .testimonial-card blockquote {
        /* Ensure flex-grow is present to take available space */
        flex-grow: 1;
        min-height: 0;
        color: var(--color-text-primary);
        margin: 0 0 var(--space-md) 0;
        font-style: normal;
    }

    /* .testimonial-card footer styles */
    .testimonial-card footer {
        margin-top: auto;
        /* will push it to the bottom if blockquote doesn't fill space */
        /* However, with blockquote having flex-grow: 1, this might not be strictly necessary but doesn't hurt */
        padding-top: var(--space-sm);
        /* Add space above footer */
        border-top: var(--border-thin);
        /* Add separator */
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        align-content: flex-start;
        height: 5rem;
        /* Removed grid-column and align-self from subgrid attempt */
    }

    .author-info {
        /* Container for author and company */
        display: flex;
        flex-direction: column;
        gap: .3rem;
        /* Stack author and company */
    }

    .testimonial-card cite {
        /* Typography via .body-14 utility */
        text-align: left;
        font-weight: 600;
        color: var(--color-text-primary);
        display: block;
        margin-bottom: 0;
        font-style: normal;
        text-transform: uppercase;
    }

    .testimonial-card .company {
        /* Typography via .body-12 utility */
        text-align: left;
        color: var(--color-text-secondary);
        text-transform: uppercase;
    }

    /* Trust Badges Section */
    .testimonial-trust-badges {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
        border-top: 2px dashed var(--shade-300);
        /* Separator */
    }

    .trust-badge-title {
        /* Typography via .hl-16 if used in DOM */
        color: var(--color-text-secondary);
        margin-bottom: var(--space-md);
        text-transform: uppercase;
    }

    .trust-badge-items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    /* .trust-badge uses .chip styles */
    .trust-badge {
        cursor: default;
        /* Make non-interactive if they don't link */
    }

    /* Responsive Adjustments (Optional Example) */
    @media (max-width: 768px) {
        .testimonial-stats {
            gap: var(--space-md);
        }

        /* Typography for .stat-value handled via utilities in DOM */

        .testimonials-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
            /* Stack cards on smaller screens */
        }
    }

}