@charset "UTF-8";

/* REVIEWS SECTION CSS */

/*@keyframes revAnim {*/
/*    0% { transform: translateX(100%) }*/
/*    4% { transform: translateX(0) }*/
/*    33.33% { transform: translateX(0) }*/
/*    37.33% { transform: translateX(-100%) }*/
/*    100% { transform: translateX(-100%) }*/
/*}*/

.reviews {
    position: relative;
    display: flex;
    background-size: min(1920px, 100vw);
    height: fit-content;
    background-color: var( --alt-bg );   /* Figma 2849:11891 tan */
    color: inherit;
    overflow: hidden;
    padding: var( --secPadding );
    z-index: 5;
    flex-direction: column;
    justify-content: center;
}

/* Figma shows ONE google icon (inline w/ name); hide the standalone prof-pic icon */
.reviews .profPicWrap {
    display: none;
}

.reviews .heading {
    color: inherit;
    text-align: center;
}

.reviews .heading h2 {
    position: relative;
    color: inherit;
    font-size: var( --h1-font-size );        /* Figma "You're in Good Hands" = 48 */
    line-height: var( --h1-line-height );
    font-style: normal;
    letter-spacing: normal;
    margin: 0 auto clamp( 24px, 1.667vw, 32px );   /* gap to reviews (32) */
    z-index: 2;
    width: fit-content;
    text-align: center;
}

.reviews .testimony {
    position: relative;
    display: grid;
    height: fit-content;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
    align-items: center;
}

.reviews .testimony p {
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews .quotWrap {
    position: relative;
    width: 100%;
    padding: 0 0 15px;
    height: fit-content;
}

.con-wrap-match {
    position: relative;
    display: grid;
    align-content: center;
    align-items: stretch;
    justify-content: center;
    justify-items: center;
    /* height: 300px; */
}

.testCont {
    position: relative;
    display: block;
    text-align: center;
}

.testCont .rQuote {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding: 0 clamp( 15px, 2.083vw, 40px );
    overflow: hidden;
}

.rQuote p {
    font-size: var( --body-font-size );      /* 18 (Figma body) */
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: var( --body-line-height );
    margin-bottom: 24px;                      /* gap quote → reviewer (24) */
}

.reviews .testimony {
    position: relative;
    color: inherit;
    background-color: transparent;
    /* height: 180px; */
    font-size: clamp(14px, 0.833vw, 16px);
    overflow: hidden;
}

.star-rating li {
    color: var( --primary-color );
    font-size: clamp( 18px, 1.042vw, 20px );
    line-height: clamp( 28px, 1.563vw, 30px );
    margin: 0 5px;
}

.reviews .container {
    overflow: hidden;
    /* min-height: 462px; */
    /* border-radius: 0 200px 200px 200px; */
    /* border: 4px solid #CD510E; */
}

.reviews .testimony p.tName {
    color: inherit;
    font-family: var( --overline-font );   /* Stack Sans Text SemiBold (Figma reviewer) */
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: var( --btn-letter-spc );   /* ~2.4 (Figma tracking 2.4) */
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 16px;                                  /* name ↔ google icon (Figma 16) */
}

.reviews .testimony p.tName .fab {
    font-size: 16px;
    margin-left: 16px;
}

.reviews .center a:not(.btn) {
    color: inherit;
    font-size: 0.833vw;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.080vw;
    line-height: 1.25vw;
    text-transform: uppercase;
}

.reviews a:not(.btn):hover {
    color: inherit;
}

.testimony .splide__slide {
    min-height: unset;
    border-radius: 0;
    padding: 0;
    display: grid;
    margin: 0;
    color: inherit;
    text-align: center;
    align-content: center;
    align-items: center;
    box-sizing: border-box;
    height: fit-content;
}

.testimony h3 {
    font-family: var( --body-font );
    font-size: clamp(26px, 1.979vw, 38px);
}

.qIcon {
    color: var( --primary-color );
    font-size: 44px;
    margin-bottom: 20px;
}

.testimony .splide__slide .tName a {
    /* display: none; */
}

.reviews .splide__track {
    padding: 0;
}

.testimony .splide__pagination {
    bottom: 24px;
    margin-left: -15px;
}

.reviews .testimony:hover .splide__arrow--prev,
.reviews .testimony:hover .splide__arrow--next {
    opacity: 1.0;
}

.revIcon {
    color: var( --primary-color );
    font-size: 2.292vw;
    margin-bottom: 1.302vw;
}

.attribution {
    padding-top: 0.833vw;
    color: inherit;
    font-family: var( --body-font );
    font-size: clamp(14px, 0.833vw, 16px);
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1.250vw;
    text-transform: uppercase;
}

@media ( max-width: 1024px ) {
    .reviews {
        background-image: none;
    }
    
    .reviews::before,
    .reviews::after {
        display: none;
    }
    
    .reviews .container {
        width: 90%;
    }
    
    .reviews .testimony {
        padding-bottom: 30px;
        min-height: unset;
        width: 100%;
        margin: 0 auto;
    }

}

@media ( max-width: 768px ) {
    .reviews .testimony {
        width: 80%;
    }

    .testimony .splide__slide {
        overflow: hidden;
        margin: 0;
    }
}

@media ( max-width: 479px ) {
    .reviews .testimony:hover .splide__arrow--next,
    .reviews .testimony:hover .splide__arrow--prev {
        display: none !important;
    }

    .reviews .testimony {
        width: 100%;
        /* height: 320px; */
        min-height: unset;
    }

    .reviews .testimony .splide__list,
    .reviews .testimony .splide__track {
        /* height: 315px !important; */
    }

    .reviews .heading {
        margin-bottom: 0px;
    }

    .testCont {
        padding: 0 15px;
        /* height: 335px; */
    }

    .reviews .container {
        overflow: hidden;
    }
}