/* =========================================================
   GOOGLE REVIEWS
========================================================= */

.google-reviews-section {
    position: relative;
    padding: 110px 0;
    background: #f7f6f3;
    overflow: hidden;
}


/* =========================================================
   HEADING
========================================================= */

.google-reviews-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 55px;
}

.google-reviews-heading-left {
    max-width: 720px;
}

.google-reviews-heading-left h2 {
    margin: 12px 0 18px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: #171717;
}

.google-reviews-heading-left h2 span {
    display: block;
    color: #b1936f;
}

.google-reviews-heading-left p {
    max-width: 650px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #777;
}


/* =========================================================
   RATING SUMMARY
========================================================= */

.google-rating-summary {
    min-width: 190px;
    padding: 25px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,.06);
}

.google-rating-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #171717;
}

.google-rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 12px 0 8px;
}

.google-rating-stars i {
    color: #fbbc04;
    font-size: 15px;
}

.google-rating-summary span {
    font-size: 12px;
    color: #888;
}


/* =========================================================
   GRID
========================================================= */

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   REVIEW CARD
========================================================= */

.google-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.055);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 65px rgba(0,0,0,.10);
}


/* =========================================================
   REVIEW TOP
========================================================= */

.google-review-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.google-review-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #b1936f;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.google-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-review-author {
    min-width: 0;
    flex: 1;
}

.google-review-author h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #222;
}

.google-review-author span {
    display: block;
    font-size: 12px;
    color: #999;
}

.google-review-google-icon {
    font-size: 20px;
    color: #4285f4;
}


/* =========================================================
   STARS
========================================================= */

.google-review-stars {
    display: flex;
    gap: 3px;
    margin: 20px 0 15px;
}

.google-review-stars i {
    font-size: 14px;
    color: #ddd;
}

.google-review-stars i.active {
    color: #fbbc04;
}


/* =========================================================
   REVIEW TEXT
========================================================= */

.google-review-text-wrapper {
    position: relative;
    flex: 1;
}

.google-review-text {
    position: relative;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.75;
    color: #555;

    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.google-review-card.expanded .google-review-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.google-review-read-more {
    display: none;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #b1936f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.google-review-card.has-more .google-review-read-more {
    display: inline-block;
}


/* =========================================================
   FOOTER
========================================================= */

.google-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.google-review-footer span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #999;
}

.google-review-footer span i {
    color: #4285f4;
}

.google-review-footer a {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
}

.google-review-footer a:hover {
    color: #b1936f;
}


/* =========================================================
   LOAD MORE
========================================================= */

.google-reviews-load-more {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

#loadMoreReviews {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 26px;
    border: 1px solid #b1936f;
    border-radius: 50px;
    background: #b1936f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
}

#loadMoreReviews:hover {
    background: #171717;
    border-color: #171717;
    transform: translateY(-2px);
}


/* =========================================================
   BOTTOM GOOGLE BUTTON
========================================================= */

.google-reviews-bottom {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.google-reviews-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 50px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.google-reviews-bottom a i:first-child {
    color: #4285f4;
}


/* =========================================================
   HIDE REVIEWS AFTER FIRST 6
========================================================= */

.google-review-card:nth-child(n + 7) {
    display: none;
}

.google-review-card.review-visible {
    display: flex;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .google-reviews-section {
        padding: 75px 0;
    }

    .google-reviews-heading {
        display: block;
        margin-bottom: 35px;
    }

    .google-reviews-heading-left h2 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .google-rating-summary {
        width: fit-content;
        min-width: 160px;
        margin-top: 25px;
    }


    /* Horizontal mobile slider */

    .google-reviews-grid {
        display: flex;
        gap: 18px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 5px 5px 25px;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .google-reviews-grid::-webkit-scrollbar {
        display: none;
    }


    .google-review-card {
        display: flex !important;

        flex: 0 0 88%;
        width: 88%;

        min-height: 340px;

        scroll-snap-align: start;
        scroll-snap-stop: always;

        padding: 25px;
    }


    /*
     * On mobile all reviews remain available
     * for horizontal scrolling.
     */

    .google-review-card:nth-child(n + 7) {
        display: flex;
    }


    /*
     * Load more is not needed for the
     * horizontal mobile slider.
     */

    .google-reviews-load-more {
        display: none;
    }

    .google-review-text {
        -webkit-line-clamp: 5;
    }

}