
/* =========================================
   TESTIMONIALS SECTION
========================================= */

.testimonials-section {
    background: #f7f8fa;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonials-section *,
.testimonials-section *::before,
.testimonials-section *::after {
    box-sizing: border-box;
}


/* =========================================
   CONTAINER
========================================= */

.testimonials-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


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

.testimonials-heading {
    width: 100%;
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.testimonials-heading .eyebrow {
    display: inline-block;
}

.testimonials-heading h2 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-heading p {
    width: 100%;
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--muted);
    line-height: 1.7;
}


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

.testimonials-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


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

.testimonial-card {
    position: relative;
    width: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.11);
}


/* =========================================
   FEATURED REVIEW
========================================= */

.featured-review {
    border-top: 4px solid var(--gold);
}


/* =========================================
   CUSTOMER TOP
========================================= */

.testimonial-top {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 13px;
}


/* =========================================
   AVATAR
========================================= */

.customer-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            #c78e00
        );

    color: #081529;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;
    font-size: 15px;
}


/* =========================================
   CUSTOMER INFO
========================================= */

.customer-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.customer-info h3 {
    margin: 0;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.3;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-info span {
    display: block;

    margin-top: 3px;

    color: #7b8490;
    font-size: 12px;
    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================
   QUOTE ICON
========================================= */

.quote-icon {
    flex-shrink: 0;

    color: var(--gold);
    font-size: 22px;
    opacity: .8;
}


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

.testimonial-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;

    margin: 22px 0 14px;

    white-space: nowrap;
}


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

.testimonial-text {
    width: 100%;
    max-width: 100%;

    margin: 0;

    color: #58616d;
    font-size: 15px;
    line-height: 1.8;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


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

.testimonial-footer {
    width: 100%;

    margin-top: 25px;
    padding-top: 17px;

    border-top: 1px solid #eeeeee;
}

.testimonial-footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    max-width: 100%;

    color: #6c7580;
    font-size: 12px;

    overflow-wrap: break-word;
}

.testimonial-footer .tick {
    color: #2e9d61;
    flex-shrink: 0;
}


/* =========================================
   TRUST SUMMARY
========================================= */

.testimonial-trust {
    width: 100%;
    max-width: 850px;

    margin: 45px auto 0;
    padding: 25px;

    background: #081529;
    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 45px;

    color: #ffffff;
}


/* =========================================
   TRUST ITEM
========================================= */

.trust-item {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.trust-item strong {
    color: var(--gold);
    font-size: 25px;
    line-height: 1.2;
}

.trust-item span {
    color: #b8c0ca;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 4px;
}

.trust-stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 3px;
    white-space: nowrap;
}


/* =========================================
   TRUST DIVIDER
========================================= */

.trust-divider {
    width: 1px;
    height: 45px;

    flex-shrink: 0;

    background: rgba(255, 255, 255, .15);
}


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

@media (max-width: 1000px) {

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }

}


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

@media (max-width: 800px) {

    .testimonials-heading {
        margin-bottom: 35px;
    }

    .testimonials-grid {
        gap: 16px;
    }

    .testimonial-card {
        padding: 21px;
        border-radius: 15px;
    }

    .testimonial-stars {
        margin-top: 18px;
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .testimonial-footer {
        margin-top: 20px;
        padding-top: 14px;
    }

}


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

@media (max-width: 650px) {

    .testimonials-section .container {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .testimonials-heading {
        max-width: 100%;
        margin-bottom: 28px;
    }

    .testimonials-heading h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .testimonials-heading p {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 10px;
    }


    /* ONE CARD PER ROW */

    .testimonials-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }


    /* SMALLER CARD */

    .testimonial-card {
        width: 100%;
        padding: 17px;
        border-radius: 13px;
    }


    /* CUSTOMER */

    .testimonial-top {
        gap: 10px;
    }

    .customer-avatar {
        width: 43px;
        height: 43px;
        min-width: 43px;

        font-size: 13px;
    }

    .customer-info h3 {
        font-size: 15px;
    }

    .customer-info span {
        font-size: 11px;
    }

    .quote-icon {
        font-size: 18px;
    }


    /* STARS */

    .testimonial-stars {
        margin: 13px 0 10px;

        font-size: 14px;
        letter-spacing: 1px;
    }


    /* REVIEW */

    .testimonial-text {
        font-size: 13.5px;
        line-height: 1.65;
    }


    /* FOOTER */

    .testimonial-footer {
        margin-top: 16px;
        padding-top: 12px;
    }

    .testimonial-footer span {
        font-size: 10.5px;
    }


    /* =====================================
       TRUST SUMMARY - MOBILE
    ===================================== */

    .testimonial-trust {
        width: 100%;
        max-width: 100%;

        margin-top: 25px;
        padding: 17px 8px;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 5px;

        border-radius: 12px;
    }

    .trust-item {
        width: 100%;
        min-width: 0;
    }

    .trust-item strong {
        font-size: 19px;
    }

    .trust-item span {
        font-size: 9px;
        line-height: 1.3;
        margin-top: 3px;
    }

    .trust-stars {
        font-size: 10px;
        letter-spacing: 0;
        margin-top: 2px;
    }

    .trust-divider {
        display: none;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .testimonials-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

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

    .testimonials-heading p {
        font-size: 13px;
    }

    .testimonial-card {
        padding: 14px;
        border-radius: 11px;
    }

    .customer-avatar {
        width: 39px;
        height: 39px;
        min-width: 39px;
        font-size: 12px;
    }

    .customer-info h3 {
        font-size: 14px;
    }

    .customer-info span {
        font-size: 10px;
    }

    .quote-icon {
        font-size: 16px;
    }

    .testimonial-stars {
        font-size: 13px;
    }

    .testimonial-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .testimonial-footer span {
        font-size: 10px;
    }

    .testimonial-trust {
        padding: 14px 4px;
    }

    .trust-item strong {
        font-size: 17px;
    }

    .trust-item span {
        font-size: 8px;
    }

    .trust-stars {
        font-size: 9px;
    }

}


/* =========================================
   EXTRA SMALL PHONES
========================================= */

@media (max-width: 340px) {

    .testimonials-section .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .testimonial-card {
        padding: 12px;
    }

    .testimonial-top {
        gap: 8px;
    }

    .customer-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 11px;
    }

    .customer-info h3 {
        font-size: 13px;
    }

    .customer-info span {
        font-size: 9px;
    }

    .testimonial-text {
        font-size: 12.5px;
    }

}


/* ---- fit the Roto Tanks site ---- */
.testimonials-section{--gold:var(--yellow);--navy:var(--ink);padding:72px 0;border-top:1px solid var(--line);font-family:var(--font-body)}
.testimonials-section .container{width:min(1200px,100% - 48px);padding:0}
.testimonials-heading .eyebrow{margin-bottom:10px;font-size:14px;font-weight:600;letter-spacing:.04em;color:var(--red)}
.testimonials-heading h2{font-size:clamp(34px,4vw,46px)}
.testimonials-heading p{font-size:17px}
.quote-icon svg{display:block}
