
/* =========================================================
   HOME — CUSTOMER REVIEW SLIDER
========================================================= */

.home-reviews-section {
    position: relative;
    overflow: hidden;
    padding: 115px var(--side) 90px;
    background: #f3f0e7;
    color: var(--green);
}

.home-reviews-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.home-reviews-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(6, 76, 63, .18);
}

.home-reviews-label {
    display: block;
    margin-bottom: 20px;
    color: #df6338;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.home-reviews-head h2 {
    margin: 0;
    color: var(--green);
    font-size: clamp(44px, 5vw, 76px);
    line-height: .94;
    font-weight: 500;
    letter-spacing: -.05em;
}

.home-reviews-head h2 em {
    color: #cf6c4b;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.home-reviews-head-copy {
    max-width: 480px;
    justify-self: end;
}

.home-reviews-head-copy p {
    margin: 0 0 25px;
    color: rgba(6, 76, 63, .7);
    font-size: 15px;
    line-height: 1.7;
}

.home-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-reviews-link span {
    font-size: 17px;
    transition: transform .25s ease;
}

.home-reviews-link:hover span {
    transform: translate(4px, -3px);
}

.home-reviews-slider {
    width: 100%;
    overflow: hidden;
}

.home-reviews-track {
    display: flex;
    gap: 22px;
    will-change: transform;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
}

.home-review-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    background: #fffdf8;
    border: 1px solid rgba(6, 76, 63, .14);
}

.home-review-image-wrap {
    width: 100%;
    height: 310px;
    overflow: hidden;
    background: #e6e2d8;
}

.home-review-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s ease;
}

.home-review-card:hover .home-review-image-wrap img {
    transform: scale(1.025);
}

.home-review-card-info {
    min-height: 76px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(6, 76, 63, .12);
}

.home-review-card-info h3 {
    margin: 0 0 5px;
    color: var(--green);
    font-size: 15px;
    font-weight: 500;
}

.home-review-card-info span {
    color: rgba(6, 76, 63, .52);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-review-card-info strong {
    flex: 0 0 auto;
    color: #e4a400;
    font-size: 12px;
    letter-spacing: 1px;
}

.home-reviews-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 27px;
}

.home-reviews-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.home-review-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(6, 76, 63, .25);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.home-review-dot.active {
    width: 23px;
    border-radius: 10px;
    background: var(--green);
}

.home-reviews-arrows {
    display: flex;
    gap: 8px;
}

.home-reviews-arrows button {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(6, 76, 63, .28);
    border-radius: 50%;
    background: transparent;
    color: var(--green);
    font-size: 17px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.home-reviews-arrows button:hover {
    background: var(--green);
    color: #f3f0e7;
    transform: translateY(-2px);
}


/* FAQ: the desktop answer panel should not duplicate the first
   question on smaller screens. The questions become the mobile
   accordion by themselves. */

@media (max-width: 1000px) {
    .faq-left .faq-display {
        display: none;
    }

    .home-reviews-head {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-reviews-head-copy {
        justify-self: start;
        max-width: 620px;
    }

    .home-review-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

@media (max-width: 650px) {
    .home-reviews-section {
        padding: 80px 18px 65px;
    }

    .home-reviews-head {
        margin-bottom: 35px;
        padding-bottom: 24px;
    }

    .home-reviews-head h2 {
        font-size: 43px;
    }

    .home-reviews-head-copy p {
        font-size: 14px;
    }

    .home-review-card {
        flex-basis: 100%;
    }

    .home-review-image-wrap {
        height: 290px;
    }

    .home-review-card-info {
        padding: 16px;
    }

    .home-reviews-controls {
        margin-top: 20px;
    }
}

@media (max-width: 400px) {
    .home-reviews-head h2 {
        font-size: 38px;
    }

    .home-review-image-wrap {
        height: 260px;
    }
}
