/*======================================================================

MANSURGE COMPONENT
MC-11

TESTIMONIALS

Version : 1.0

======================================================================*/

.ms-testimonials{

    position:relative;

    overflow:hidden;

    background:var(--ms-bg);

    padding:140px 0;

}

.ms-testimonials::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

    radial-gradient(

        circle at top left,

        rgba(197,165,114,.05),

        transparent 60%

    ),

    radial-gradient(

        circle at bottom right,

        rgba(197,165,114,.04),

        transparent 55%

    );

}

.ms-testimonials-layout{

    position:relative;

    z-index:2;

}

.ms-testimonials-header{

    max-width:760px;

    margin:0 auto 96px;

    text-align:center;

}

.ms-testimonials-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    margin-bottom:30px;

    border-radius:999px;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    font-size:14px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.ms-testimonials-title{

    color:var(--ms-white);

    font-size:clamp(36px,5vw,56px);

    font-weight:700;

    line-height:1.08;

    letter-spacing:-.02em;

    margin-bottom:28px;

}

.ms-testimonials-description{

    max-width:720px;

    margin:0 auto;

    color:var(--ms-text-soft);

    font-size:clamp(16px,2vw,19px);

    line-height:1.9;

}

.ms-testimonials-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:36px;

    align-items:stretch;

}

.ms-testimonial-card{

    position:relative;

    display:flex;

    flex-direction:column;

    overflow:hidden;

    background:var(--ms-surface);

    border:1px solid var(--ms-border);

    border-radius:28px;

    transition:

        transform .45s ease,

        border-color .45s ease,

        box-shadow .45s ease;

}

.ms-testimonial-card:hover{

    transform:translateY(-10px);

    border-color:rgba(197,165,114,.35);

    box-shadow:0 24px 52px rgba(0,0,0,.30);

}

.ms-testimonial-content{

    display:flex;

    flex-direction:column;

    flex:1;

    height:100%;

    padding:38px;

}

.ms-testimonial-stars{

    display:flex;

    gap:6px;

    margin-bottom:24px;

    color:var(--ms-gold);

}

.ms-testimonial-stars svg{

    width:18px;

    height:18px;

    fill:currentColor;

}

.ms-testimonial-quote{

    color:var(--ms-white);

    font-size:clamp(18px,2vw,22px);

    line-height:1.9;

    font-style:italic;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:4;

    overflow:hidden;

    min-height:calc(1.9em * 4);

    margin-bottom:36px;

}

.ms-testimonial-author{

    display:flex;

    align-items:center;

    gap:18px;

    padding-top:26px;

    border-top:1px solid rgba(197,165,114,.10);

}

.ms-testimonial-avatar{

    width:64px;

    height:64px;

    border-radius:50%;

    overflow:hidden;

    flex-shrink:0;

    border:1px solid rgba(197,165,114,.18);

    background:#161c1d;

}

.ms-testimonial-avatar img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}

.ms-testimonial-info{

    display:flex;

    flex-direction:column;

    gap:6px;

}

.ms-testimonial-name{

    color:var(--ms-white);

    font-size:18px;

    font-weight:700;

    line-height:1.3;

}

.ms-testimonial-role{

    color:var(--ms-text-soft);

    font-size:15px;

    line-height:1.6;

}

.ms-testimonial-number{

    position:absolute;

    right:24px;

    bottom:24px;

    display:flex;

    align-items:center;

    justify-content:center;

    width:54px;

    height:54px;

    border-radius:50%;

    background:rgba(13,17,17,.78);

    border:1px solid rgba(197,165,114,.18);

    backdrop-filter:blur(8px);

    color:var(--ms-gold);

    font-size:15px;

    font-weight:700;

}

.ms-testimonials-footer{

    display:flex;

    justify-content:center;

    margin-top:80px;

}

.ms-testimonials-all{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 36px;

    border-radius:999px;

    border:1px solid rgba(197,165,114,.20);

    background:transparent;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        background .35s ease,

        border-color .35s ease,

        color .35s ease,

        transform .35s ease;

}

.ms-testimonials-all:hover{

    background:rgba(197,165,114,.08);

    border-color:rgba(197,165,114,.35);

    color:var(--ms-white);

    transform:translateY(-2px);

}

@media (max-width:1024px){

    .ms-testimonials{

        padding:110px 0;

    }

    .ms-testimonials-header{

        margin-bottom:72px;

    }

    .ms-testimonials-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

        gap:30px;

    }

    .ms-testimonial-card:last-child{

        grid-column:1 / -1;

        max-width:520px;

        justify-self:center;

    }

    .ms-testimonial-content{

        padding:30px;

    }

}

@media (max-width:767px){

    .ms-testimonials{

        padding:84px 0;

    }

    .ms-testimonials-header{

        margin-bottom:48px;

    }

    .ms-testimonials-grid{

        grid-template-columns:1fr;

        gap:24px;

    }

    .ms-testimonial-card:last-child{

        max-width:none;

    }

    .ms-testimonial-content{

        padding:24px;

    }

    .ms-testimonials-footer{

        margin-top:56px;

    }

    .ms-testimonials-all{

        width:100%;

        justify-content:center;

    }

}

.ms-testimonials-all:focus-visible{

    outline:2px solid var(--ms-gold);

    outline-offset:4px;

}

.ms-testimonial-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    align-self:flex-start;

    margin-top:auto;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        color .30s ease,

        transform .30s ease;

}

.ms-testimonial-link:hover{

    color:var(--ms-white);

}

.ms-testimonial-link:hover{

    transform:translateX(4px);

}
