/* ====================================================================================
TESTIMONIALS PAGE — styles only the markup you pasted
==================================================================================== */

.page{
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    overflow: hidden;
}

/* soft glow */
.page::before{
    content:"";
    position:absolute;
    left: 50%;
    top: -12rem;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 120%;
    height: 520px;
    background: radial-gradient(closest-side, rgba(255, 77, 227, .14), rgba(0,0,0,0));
    filter: blur(12px);
    pointer-events:none;
    z-index:-1;
}

/* Heading */
.page h1{
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    line-height: 1.08;
    margin: 0 0 .5rem;
}

.page > .container > .muted{
    max-width: 70ch;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* Grid */
.grid-3{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 900px){
    .grid-3{
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Testimonial cards */
.grid-3 .card{
    padding: 1.6rem 1.75rem;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease;
}

/* subtle quote accent */
.grid-3 .card::before{
    content: "“";
    position: absolute;
    top: .75rem;
    left: .9rem;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255,255,255,.08);
    pointer-events: none;
}

:root[data-theme="light"] .grid-3 .card::before{
    color: rgba(18,20,39,.10);
}

.grid-3 .card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(0,0,0,.30);
}

/* Review text */
.grid-3 .card p:first-child{
    font-size: 1.02rem;
    line-height: 1.5;
    margin-bottom: .75rem;
}

/* Reviewer */
.grid-3 .card .small{
    font-style: italic;
}

/* Bottom actions */
.actions{
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
