/* =========================================================
   HOME-0007B
   RESEÑAS DE GOOGLE
   ========================================================= */


/* =========================================================
   SECCIÓN
   ========================================================= */

.reviews-section {
    padding: 90px 35px 80px;
    background: var(--color-cream);
}

.reviews-container {
    width: min(1240px, 100%);
    margin: 0 auto;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.reviews-heading {
    margin-bottom: 42px;
    text-align: center;
}

.reviews-eyebrow {
    margin-bottom: 8px;

    color: var(--color-green);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

.reviews-heading h2 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;

    color: var(--color-green);

    font-size: 42px;
    line-height: 1.15;
    font-weight: 500;
}


/* =========================================================
   CONTENEDOR DEL SLIDER
   ========================================================= */

.reviews-slider {
    position: relative;

    width: 100%;
    min-height: 315px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(35, 55, 31, 0.08);
    border-radius: 14px;

    box-shadow:
        0 5px 25px
        rgba(25, 35, 23, 0.05);
}


/* =========================================================
   TRACK
   ========================================================= */

.reviews-track {
    position: relative;

    width: 100%;
    min-height: 315px;
}


/* =========================================================
   RESEÑAS
   ========================================================= */

.review-slide {
    position: absolute;
    inset: 0;

    padding: 38px 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    opacity: 0;
    visibility: hidden;

    transform: translateX(20px);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


/* =========================================================
   AVATAR
   ========================================================= */

.review-avatar {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    border-radius: 50%;

    background: var(--color-green);

    color: #ffffff;

    font-size: 24px;
    font-weight: 500;
}


/* =========================================================
   NOMBRE
   ========================================================= */

.review-slide h3 {
    margin: 0;

    color: var(--color-green);

    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   FECHA
   ========================================================= */

.review-date {
    margin: 3px 0 0;

    color: #777a74;

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   ESTRELLAS
   ========================================================= */

.review-stars {
    margin-top: 12px;

    color: #f5b400;

    font-family: Arial, sans-serif;

    font-size: 22px;
    line-height: 1;

    letter-spacing: 2px;
}

.review-star-empty {
    color: #d6d6d2;
}


/* =========================================================
   TEXTO DE LA RESEÑA
   ========================================================= */

.review-text {
    max-width: 760px;

    margin: 14px auto 0;

    color: #343733;

    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   FLECHAS
   ========================================================= */

.reviews-arrow {
    position: absolute;
    z-index: 10;

    top: 50%;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: var(--color-green);

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.reviews-arrow:hover {
    background: var(--color-sand-hover);
}

.reviews-prev {
    left: 20px;
}

.reviews-next {
    right: 20px;
}


/* =========================================================
   INDICADORES
   ========================================================= */

.reviews-dots {
    margin-top: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.review-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #c9cac5;

    cursor: pointer;

    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}

.review-dot.active {
    width: 24px;

    border-radius: 20px;

    background: var(--color-green);
}


/* =========================================================
   GOOGLE
   ========================================================= */

.reviews-source {
    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #62655f;

    font-size: 13px;
}

.reviews-google-g {
    color: #4285f4;

    font-family: Arial, sans-serif;

    font-size: 21px;
    font-weight: 700;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .reviews-section {
        padding: 75px 25px 70px;
    }

    .reviews-heading h2 {
        font-size: 38px;
    }

    .review-slide {
        padding:
            38px 80px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .reviews-section {
        padding:
            60px 20px 65px;
    }

    .reviews-heading {
        margin-bottom: 32px;
    }

    .reviews-heading h2 {
        font-size: 33px;
    }

    .reviews-slider,
    .reviews-track {
        min-height: 390px;
    }

    .review-slide {
        padding:
            35px 50px;
    }

    .review-avatar {
        width: 56px;
        height: 56px;

        font-size: 21px;
    }

    .review-slide h3 {
        font-size: 16px;
    }

    .review-stars {
        font-size: 20px;
    }

    .review-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .reviews-arrow {
        width: 36px;
        height: 36px;

        font-size: 27px;
    }

    .reviews-prev {
        left: 7px;
    }

    .reviews-next {
        right: 7px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 420px) {

    .reviews-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .reviews-heading h2 {
        font-size: 29px;
    }

    .reviews-slider,
    .reviews-track {
        min-height: 430px;
    }

    .review-slide {
        padding:
            30px 42px;
    }

    .review-text {
        font-size: 14px;
    }

}

