/* =========================================================
   HIGH VOLTAGE
   RESEÑAS DE GOOGLE
   ========================================================= */

.hv-reviews {
    background-color: var(--rojo);
    color: #fff;
    padding: 110px 0 120px;
}

.hv-reviews .wrapper-main {
    max-width: 1180px;
}


/* =========================
   INTRO
   ========================= */

.hv-reviews__intro {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
}

.hv-reviews__title {
    display: flex;
    flex-direction: column;

    font-size: 7.5rem;
    line-height: .78;
    letter-spacing: -.02em;

    color: #fff;
}

.hv-reviews__title span:last-child {
    color: #000;
}

/* Nota media */
.hv-reviews__score {
    display: flex;
    align-items: center;
    gap: 16px;

    justify-self: start;
    padding: 16px 22px;

    color: #fff;
    text-decoration: none;
    background-color: #000;
}

.hv-reviews__score-num {
    font-size: 4.2rem;
    line-height: .85;
}

.hv-reviews__score-info {
    display: flex;
    flex-direction: column;
    gap: 6px;

    font-family: 'Roboto', sans-serif;
    font-size: .95rem;
    line-height: 1.3;

    color: #e6e6e6;
}

.hv-reviews__score .hv-reviews__stars {
    font-size: 1.15rem;
}


/* =========================
   ESTRELLAS
   ========================= */

.hv-reviews__stars {
    font-size: 1rem;
    letter-spacing: .12em;

    color: #f5b301;
}


/* =========================
   TARJETAS
   ========================= */

.hv-reviews__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hv-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 16px;

    margin: 0;
    padding: 26px 24px 24px;

    color: #000;
    background-color: #fff;
}

.hv-reviews__text {
    flex: 1;
    margin: 0;

    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.55;

    color: #1d1d1b;
}

.hv-reviews__text p {
    margin: 0;
}

.hv-reviews__text p::before { content: '“'; }
.hv-reviews__text p::after  { content: '”'; }

.hv-reviews__author {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.hv-reviews__name {
    font-size: 1.5rem;
    line-height: 1;
}

.hv-reviews__class {
    font-family: 'Roboto', sans-serif;
    font-size: .85rem;

    color: var(--rojo);
}


/* =========================
   BOTONES
   ========================= */

.hv-reviews__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 40px;
}

.hv-reviews__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 24px 12px;

    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: .04em;
    text-decoration: none;

    border: 2px solid transparent;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.hv-reviews__btn--ghost {
    color: #fff;
    border-color: #fff;
}

.hv-reviews__btn--ghost:hover,
.hv-reviews__btn--ghost:focus-visible {
    color: var(--rojo);
    background-color: #fff;
}

.hv-reviews__btn--dark {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.hv-reviews__btn--dark:hover,
.hv-reviews__btn--dark:focus-visible {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.hv-reviews__btn:focus-visible,
.hv-reviews__score:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hv-reviews__title {
        font-size: 6rem;
    }

    .hv-reviews__intro {
        grid-template-columns: 1fr .8fr;
        gap: 35px;
    }

    .hv-reviews__list {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MÓVIL: las reseñas se deslizan con el dedo
   ========================================================= */

@media (max-width: 768px) {

    .hv-reviews {
        padding: 80px 0 100px;
    }

    .hv-reviews__intro {
        display: block;
        margin-bottom: 40px;
    }

    .hv-reviews__title {
        font-size: 5.5rem;
        margin-bottom: 28px;
    }

    .hv-reviews__list {
        display: flex;
        gap: 12px;

        margin: 0 -20px;
        padding: 0 20px 6px;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .hv-reviews__list::-webkit-scrollbar {
        display: none;
    }

    .hv-reviews__card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .hv-reviews__actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }
}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 550px) {

    .hv-reviews {
        padding: 65px 0 85px;
    }

    .hv-reviews__title {
        font-size: 4.4rem;
        line-height: .8;
    }

    .hv-reviews__score-num {
        font-size: 3.4rem;
    }
}