/* PUNTOGASFITER_TESTIMONIOS_CARRUSEL_START */
.pg-testimonials-section {
    background: #f8f9fa;
    color: #283044;
    padding: 52px 20px;
    scroll-margin-top: 86px;
}

.pg-testimonials-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.pg-testimonials-kicker {
    color: #0c0c40;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pg-testimonials-heading {
    color: #0c0c40;
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.pg-testimonials-lead {
    color: #555;
    line-height: 1.8;
    margin: 0 0 24px;
    max-width: 860px;
}

.pg-testimonials-carousel {
    position: relative;
}

.pg-testimonials-track {
    display: grid;
    grid-auto-columns: minmax(280px, 1fr);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 16px;
}

.pg-testimonials-track::-webkit-scrollbar {
    display: none;
}

.pg-testimonials-carousel--show-all .pg-testimonials-track {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 4px;
}

.pg-testimonial-card {
    min-height: 260px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(12, 12, 64, 0.10);
    border-top: 4px solid #FFD700;
    padding: 22px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pg-testimonial-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-testimonial-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0c0c40;
    color: #FFD700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex: 0 0 auto;
}

.pg-testimonial-name {
    color: #0c0c40;
    font-weight: 700;
    margin: 0;
}

.pg-testimonial-comuna {
    color: #666;
    font-size: 14px;
    margin: 2px 0 0;
}

.pg-testimonial-stars {
    color: #d59b00;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1;
}

.pg-testimonial-text {
    color: #3f4658;
    line-height: 1.75;
    margin: 0;
}

.pg-testimonials-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.pg-testimonials-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #0c0c40;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.pg-testimonials-btn:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

.pg-testimonials-btn:hover {
    background: #17175f;
}

@media (min-width: 900px) {
    .pg-testimonials-track {
        grid-auto-columns: calc((100% - 72px) / 5);
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .pg-testimonials-track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }

    .pg-testimonials-carousel--show-all .pg-testimonials-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .pg-testimonials-section {
        padding: 42px 16px;
    }

    .pg-testimonials-heading {
        font-size: 24px;
    }

    .pg-testimonials-track {
        grid-auto-columns: 100%;
    }

    .pg-testimonials-carousel--show-all .pg-testimonials-track {
        grid-template-columns: 1fr;
    }

    .pg-testimonial-card {
        min-height: auto;
    }

    .pg-testimonials-controls {
        justify-content: stretch;
    }

    .pg-testimonials-btn {
        flex: 1 1 auto;
    }
}
/* PUNTOGASFITER_TESTIMONIOS_CARRUSEL_END */
