/* ======================================================
   TESTIMONIALS
====================================================== */

.testimonials{

    padding: 130px 8%;

    background: #111;

    position: relative;

    overflow: hidden;

}


/* ======================================================
   HEADER
====================================================== */

.testimonials-header{

    max-width: 850px;

    margin: 0 auto 75px;

    text-align: center;

}


.testimonials-header .section-subtitle{

    display: block;

    color: var(--gold);

    text-transform: uppercase;

    letter-spacing: 4px;

    font-size: .8rem;

    font-weight: 600;

    margin-bottom: 18px;

}


.testimonials-header h2{

    font-family: 'Cormorant Garamond', serif;

    font-size: 3.6rem;

    font-weight: 500;

    line-height: 1.15;

    color: var(--white);

    margin-bottom: 22px;

}


.testimonials-header p{

    color: #bdbdbd;

    font-size: 1rem;

    line-height: 1.8;

    max-width: 650px;

    margin: 0 auto;

}


/* ======================================================
   GRID
====================================================== */

.testimonials-grid{

    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    align-items: stretch;

}


/* ======================================================
   CARD
====================================================== */

.testimonial-card{

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.005)
        );

    border: 1px solid rgba(239,184,16,.22);

    padding: 48px 38px;

    min-height: 350px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    overflow: hidden;

    transition:
        transform .45s ease,
        border-color .45s ease,
        box-shadow .45s ease;

}


/* ======================================================
   COMILLA DECORATIVA
====================================================== */

.testimonial-card::after{

    content: "“";

    position: absolute;

    top: 18px;

    right: 28px;

    font-family: 'Cormorant Garamond', serif;

    font-size: 6rem;

    line-height: 1;

    color: rgba(239,184,16,.08);

    pointer-events: none;

}


/* ======================================================
   LÍNEA DORADA SUPERIOR
====================================================== */

.testimonial-card::before{

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--gold);

    transition: width .45s ease;

}


/* ======================================================
   TARJETA CENTRAL — DESTACADA
====================================================== */

.testimonial-card:nth-child(2){

    border-color: rgba(239,184,16,.48);

    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.30);

}


.testimonial-card:nth-child(2)::before{

    width: 100%;

}


/* ======================================================
   HOVER
====================================================== */

.testimonial-card:hover{

    transform: translateY(-10px);

    border-color: rgba(239,184,16,.65);

    box-shadow:
        0 25px 55px rgba(0,0,0,.40);

}


.testimonial-card:hover::before{

    width: 100%;

}


/* ======================================================
   STARS
====================================================== */

.testimonial-stars{

    color: var(--gold);

    font-size: 15px;

    letter-spacing: 4px;

    margin-bottom: 30px;

    position: relative;

    z-index: 1;

}


/* ======================================================
   TEXT
====================================================== */

.testimonial-text{

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.55rem;

    line-height: 1.48;

    color: var(--white);

    margin-bottom: 38px;

    position: relative;

    z-index: 1;

}


/* ======================================================
   AUTHOR
====================================================== */

.testimonial-author{

    display: flex;

    flex-direction: column;

    gap: 6px;

    padding-top: 21px;

    border-top: 1px solid rgba(255,255,255,.10);

    position: relative;

    z-index: 1;

}


.testimonial-author strong{

    font-size: .95rem;

    font-weight: 500;

    color: var(--white);

}


.testimonial-author span{

    font-size: .72rem;

    color: var(--gold);

    text-transform: uppercase;

    letter-spacing: 2px;

}


/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1000px){

    .testimonials-grid{

        grid-template-columns: 1fr 1fr;

    }


    .testimonial-card:nth-child(2){

        transform: none;

    }

}


@media (max-width: 650px){

    .testimonials{

        padding: 90px 6%;

    }


    .testimonials-header{

        margin-bottom: 55px;

    }


    .testimonials-header h2{

        font-size: 2.7rem;

    }


    .testimonials-header p{

        font-size: .95rem;

    }


    .testimonials-grid{

        grid-template-columns: 1fr;

        gap: 22px;

    }


    .testimonial-card{

        padding: 38px 28px;

        min-height: 320px;

    }


    .testimonial-card:nth-child(2){

        transform: none;

    }


    .testimonial-text{

        font-size: 1.4rem;

    }

}