/* ======================================================
   TESTIMONIALS
====================================================== */

.st-testimonials{

    position:relative;

    overflow:hidden;

    padding:150px 0;

    background:#FDF9F4;

}

/* dekoracyjne łuki */

.st-testimonials::before{

    display:none;

}

.st-testimonials::after{

    content:"";

    position:absolute;

    bottom:-260px;
    right:-520px;

    width:1100px;
    height:1100px;

    border-radius:50%;

    border:1px solid rgba(24,59,89,.06);

    box-shadow:

        0 0 0 55px rgba(24,59,89,.03),

        0 0 0 110px rgba(24,59,89,.015);

}

.st-testimonials-wrapper{

    position:relative;

    z-index:5;

    max-width:1400px;

    margin:0 auto;

    padding:0;

}

/* ======================================================
   HEADER
====================================================== */

.st-testimonials-header{

    max-width:760px;

    margin:0 auto 110px;

    text-align:center;
    
    padding:0 6%;

}

.st-testimonials-header span{

    display:inline-flex;

    align-items:center;

    gap:16px;

    margin-bottom:18px;

    font-size:12px;

    letter-spacing:4px;

    text-transform:uppercase;

    color:#D48770;

}

.st-testimonials-header span::before,

.st-testimonials-header span::after{

    content:"";

    width:42px;
    height:1px;

    background:#E5CDBE;

}

.st-testimonials-header h2{

    margin-bottom:28px;

    font-size:clamp(50px,5vw,82px);

    line-height:1;

    color:#193B59;

    font-weight:600;

}

.st-testimonials-header h2 em{

    display:block;

    margin-top:8px;

    font-family:"Cormorant Garamond",serif;

    font-style:italic;

    font-weight:500;

    color:#E86B5A;

}

.st-testimonials-header p{

    max-width:620px;

    margin:auto;

    font-size:18px;

    line-height:1.9;

    color:#6C7075;

}

/* ======================================================
   SLIDER
====================================================== */

.st-testimonials-slider{

    position:relative;

    width:100%;

    overflow:visible;   /* test */

    z-index:5;

}

.st-testimonials-track{

    display:flex;

    align-items:stretch;

    gap:50px;

    width:max-content;

    padding-left:40px;
    padding-right:40px;

    will-change:transform;

    animation:stTestimonials 70s linear infinite;

}

/* ======================================================
   CARD
====================================================== */

.st-testimonial-card{

    position:relative;

    flex:0 0 440px;

    padding:48px 42px;

    background:#FDF8F2;

    border:1px solid #E9DDD2;

    border-radius:26px;

    overflow:hidden;

    transition:.35s ease;

    box-shadow:
         0 24px 55px rgba(15,35,60,.08);

}

/* wewnętrzna ramka */

.st-testimonial-card::before{

    content:"";

    position:absolute;

    inset:12px;

    border:1px solid rgba(225,205,189,.85);

    border-radius:18px;

}

/* narożnik retro */

.st-testimonial-card::after{

    display:none;

}

/* lekkie różnice */

.st-testimonial-card:nth-child(odd){

    transform:rotate(-1deg);

}

.st-testimonial-card:nth-child(even){

    transform:rotate(1deg);

}

.st-testimonial-card:hover{

    transform:translateY(-10px) rotate(0deg);

    box-shadow:
        0 30px 70px rgba(15,35,60,.12);

}

/* ======================================================
   BRAND COLORS
====================================================== */

.st-testimonial-card{

    --accent:#E86B5A;

}

.st-testimonial-card:nth-child(4n+1){

    --accent:#1A6B7C;   /* Deep Moss Green */

}

.st-testimonial-card:nth-child(4n+2){

    --accent:#C15B42;   /* Terracotta Coral */

}

.st-testimonial-card:nth-child(4n+3){

    --accent:#0A3D50;   /* Deep Petrol */

}

.st-testimonial-card:nth-child(4n+4){

    --accent:#E8956D;   /* Warm Apricot */

}

/* ======================================================
   QUOTE
====================================================== */

.st-stars{

    position:relative;

    display:inline-block;

    margin-bottom:34px;

    font-size:0;

}

.st-stars::before{

    content:"“";

    display:block;

    font-family:"Cormorant Garamond",serif;

    font-size:110px;

    line-height:.7;

   color:var(--accent);

opacity:.22;;

}

/* ======================================================
   REVIEW
====================================================== */

.st-testimonial-card p{

    position:relative;

    z-index:2;

    margin-bottom:34px;

    font-size:18px;

    line-height:1.9;

    color:#5F6873;

}

/* dekoracyjna kreska */

.st-testimonial-card p::after{

    content:"";

    display:block;

    width:55px;
    height:1px;

    margin-top:28px;

    background:var(--accent);

opacity:.35;

}

/* ======================================================
   AUTHOR
====================================================== */

.st-author{

    position:relative;

    z-index:2;

}

.st-author strong{

    display:block;

    margin-bottom:6px;

    font-size:18px;

    font-weight:600;

    color:#193B59;

}

.st-author span{

    display:block;

    font-size:13px;

    letter-spacing:2px;

    text-transform:uppercase;

   color:var(--accent);

}

/* ======================================================
   RETRO FOOTER
====================================================== */

.st-testimonial-card::marker{

    display:none;

}

/* mały napis jak na pocztówce */

.st-author::after{

    content:"SENTIQUE STUDIO • FLORIDA";

    display:block;

    margin-top:22px;

    padding-top:16px;

    border-top:1px solid rgba(24,59,89,.08);

    font-size:11px;

    letter-spacing:2px;

    text-transform:uppercase;

    color:var(--accent);

opacity:.8;

}

/* ======================================================
   ANIMATION
====================================================== */

@keyframes stTestimonials{

    from{

        transform:translate3d(0,0,0);

    }

    to{

        transform:translate3d(calc(-50% - 20px),0,0);

    }

}

/* ======================================================
   HOVER
====================================================== */

.st-testimonial-card{

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.st-testimonial-card:hover{

    border-color:#E3CDBF;

}

.st-testimonial-card:hover strong{

    color:var(--accent);

}

.st-author strong{

    transition:.3s ease;

}

/* ======================================================
   MOBILE
====================================================== */

@media(max-width:992px){

.st-testimonial-card{

    flex:0 0 360px;

}

}

@media(max-width:768px){

.st-testimonials{

    padding:100px 0;

}

.st-testimonials-header{

    margin-bottom:60px;

    padding:0 7%;

}

.st-testimonials-header h2{

    font-size:clamp(40px,9vw,56px);

}

.st-testimonials-header p{

    font-size:16px;

}

.st-testimonials-track{

    gap:20px;

    animation-duration:34s;

}

.st-testimonial-card{

    flex:0 0 300px;

    padding:38px 30px;

}

.st-stars::before{

    font-size:82px;

}

.st-testimonial-card p{

    font-size:16px;

    line-height:1.8;

}

}

@media(max-width:480px){

.st-testimonial-card{

    flex:0 0 270px;

    padding:32px 24px;

}

.st-testimonial-card::before{

    inset:8px;

}

.st-author strong{

    font-size:17px;

}

.st-author span{

    font-size:12px;

}

}