/* =========================================================
   TESTIMONIALS PAGE
   Get Well Physiotherapy & Sports Injury Clinic
========================================================= */

.testimonials-page {
    overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */

.testimonials-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(8, 48, 72, 0.78), rgba(8, 48, 72, 0.82)),
        url("../images/testimonials-hero.webp") center/cover no-repeat;
}

.testimonials-hero-inner {
    position: relative;
    z-index: 2;
}

.testimonials-hero-content {
    max-width: 760px;
    padding: 90px 0;
}

.testimonials-hero h1 {
    margin: 12px 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.testimonials-hero h1 span {
    color: #00a651;
}

.testimonials-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   RATING
========================================================= */

.testimonials-rating {
    background: #f5f9fb;
}

.rating-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    max-width: 850px;
    margin: 0 auto;
    padding: 45px 55px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(17, 65, 88, 0.08);
    border: 1px solid rgba(0, 119, 185, 0.08);
}

.rating-score {
    min-width: 180px;
    text-align: center;
    padding-right: 55px;
    border-right: 1px solid #dce8ed;
}

.rating-score strong {
    display: block;
    color: #0077b9;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
}

.rating-stars {
    margin-top: 10px;
    color: #f5b301;
    font-size: 23px;
    letter-spacing: 3px;
}

.rating-content h2 {
    margin: 0 0 10px;
    color: #163f55;
    font-size: 27px;
    line-height: 1.3;
}

.rating-content p {
    max-width: 480px;
    margin: 0;
    color: #607783;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   TESTIMONIALS LIST
========================================================= */

.testimonials-list {
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 55px;
}

.testimonial-card {
    position: relative;
    padding: 34px 34px 30px;
    background: #ffffff;
    border: 1px solid #e1ebef;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(17, 65, 88, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 119, 185, 0.25);
    box-shadow: 0 18px 45px rgba(17, 65, 88, 0.12);
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 166, 81, 0.10);
    color: #00a651;
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 1;
}

.testimonial-author h3 {
    margin: 0 0 3px;
    color: #163f55;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.testimonial-author span {
    color: #7a8d96;
    font-size: 13px;
}

.testimonial-rating {
    margin: 22px 0 18px;
    color: #f5b301;
    font-size: 17px;
    letter-spacing: 2px;
}

.testimonial-text p {
    margin: 0 0 17px;
    color: #526d7a;
    font-size: 15.5px;
    line-height: 1.85;
}

.testimonial-text p:last-child {
    margin-bottom: 0;
}

.testimonial-source {
    margin-top: 22px;
    color: #0077b9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================================================
   CTA
========================================================= */

.testimonials-cta {
    position: relative;
    padding: 85px 0;
    background:
        linear-gradient(
            135deg,
            #0077b9 0%,
            #00649c 60%,
            #005584 100%
        );
    overflow: hidden;
}

.testimonials-cta::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -230px;
    right: -120px;
    border: 70px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.testimonials-cta::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -190px;
    left: -90px;
    border: 55px solid rgba(0, 166, 81, 0.15);
    border-radius: 50%;
}

.testimonials-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.testimonials-cta .section-eyebrow {
    color: #8ee0b3;
}

.testimonials-cta h2 {
    margin: 10px 0 10px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.testimonials-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.testimonials-cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.testimonials-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 15px 25px;
    background: #00a651;
    color: #ffffff;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonials-cta-btn:hover {
    background: #008f45;
    color: #ffffff;
    transform: translateY(-2px);
}

.testimonials-cta-phone {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.testimonials-cta-phone:hover {
    color: #8ee0b3;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .testimonials-hero {
        min-height: 420px;
    }

    .testimonials-hero-content {
        padding: 75px 0;
    }

    .rating-box {
        gap: 35px;
        padding: 35px 40px;
    }

    .rating-score {
        padding-right: 35px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .testimonials-cta-actions {
        margin-top: 5px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .testimonials-hero {
        min-height: 390px;
    }

    .testimonials-hero-content {
        padding: 65px 0;
    }

    .testimonials-hero h1 {
        font-size: 40px;
        letter-spacing: -0.8px;
    }

    .testimonials-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .rating-box {
        flex-direction: column;
        gap: 25px;
        padding: 32px 25px;
        text-align: center;
    }

    .rating-score {
        padding-right: 0;
        padding-bottom: 25px;
        border-right: 0;
        border-bottom: 1px solid #dce8ed;
    }

    .rating-content h2 {
        font-size: 23px;
    }

    .rating-content p {
        font-size: 15px;
    }

    .testimonials-grid {
        gap: 20px;
        margin-top: 40px;
    }

    .testimonial-card {
        padding: 27px 23px 25px;
        border-radius: 15px;
    }

    .testimonial-text p {
        font-size: 15px;
        line-height: 1.75;
    }

    .testimonials-cta {
        padding: 65px 0;
    }

    .testimonials-cta h2 {
        font-size: 32px;
    }

    .testimonials-cta p {
        font-size: 15px;
    }

    .testimonials-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .testimonials-cta-btn {
        width: 100%;
    }
}