/*=========================================================
TESTIMONIALS
3 static quote cards (no slider).
3 columns on desktop and tablet, stacked on phones.
=========================================================*/

.tm{
    background:var(--white);
}

.tm .section-header{
    margin-bottom:56px;
}

/*=========================================================
CARDS
=========================================================*/

.tm-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    max-width:1100px;
    margin:0 auto;
}

.tm-card{
    display:flex;
    flex-direction:column;
    padding:34px 30px 28px;
    background:var(--light);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
    transition:transform .3s ease, box-shadow .3s ease;
}
.tm-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-md);
}

/* gold quote mark: the only gold in this section */
.tm-mark{
    display:block;
    height:34px;
    margin-bottom:10px;
    font-family:Georgia,'Times New Roman',serif;
    font-size:72px;
    font-weight:700;
    line-height:.8;
    color:var(--accent);
}

.tm-quote{
    flex:1;
    margin-bottom:26px;
    font-family:'Inter',sans-serif;
    font-size:17px;
    line-height:1.7;
    color:var(--dark);
}

/*=========================================================
PERSON (small round photo + name)
=========================================================*/

.tm-person{
    display:flex;
    align-items:center;
    gap:14px;
    padding-top:20px;
    border-top:1px solid #D5DEE7;
}

.tm-avatar{
    position:relative;
    flex-shrink:0;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--primary);
    color:var(--white);
    font-size:18px;
    overflow:hidden;
    border:3px solid var(--white);
    box-shadow:0 0 0 1px #D5DEE7;
}
.tm-avatar img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.tm-name{
    display:block;
    font-size:16px;
    font-weight:700;
    color:var(--primary);
}
.tm-role{
    display:block;
    font-size:14px;
    color:var(--secondary);
}

/*=========================================================
TABLET: still three columns, a little tighter
=========================================================*/

@media (max-width:991px){

    .tm-grid{ gap:16px; }

    .tm-card{ padding:26px 20px 22px; }
    .tm-mark{
        height:28px;
        font-size:60px;
    }
    .tm-quote{
        margin-bottom:20px;
        font-size:15px;
    }
    .tm-person{
        gap:12px;
        padding-top:16px;
    }
    .tm-avatar{
        width:46px;
        height:46px;
    }

}

/*=========================================================
MOBILE: cards stack in one column
=========================================================*/

@media (max-width:767px){

    .tm .section-header{ margin-bottom:40px; }

    .tm-grid{
        grid-template-columns:1fr;
        gap:16px;
        max-width:560px;
    }

    .tm-card{ padding:28px 24px 24px; }
    .tm-card:hover{ transform:none; }
    .tm-quote{ font-size:16px; }

}

@media (prefers-reduced-motion:reduce){

    .tm-card{ transition:none; }

}