/* =========================================================
   CHS SWINDON
   CUSTOMER REVIEWS PAGE
   ========================================================= */


/* =========================================================
   REVIEWS HERO
   ========================================================= */

.reviews-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 90px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(47, 121, 174, 0.22),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #0d1720 0%,
            #132534 55%,
            #0c1822 100%
        );
    color: #ffffff;
}

.reviews-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: -220px;
    border-radius: 50%;
    background: rgba(47, 121, 174, 0.12);
}

.reviews-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.reviews-hero-content {
    max-width: 720px;
}

.reviews-hero .eyebrow {
    color: #7fc4f1;
}

.reviews-hero h1 {
    max-width: 700px;
    margin: 10px 0 22px;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #ffffff;
}

.reviews-hero-lead {
    max-width: 650px;
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   HERO STARS
   ========================================================= */

.reviews-stars {
    display: flex;
    gap: 7px;
    margin-top: 28px;
    font-size: 1.8rem;
    line-height: 1;
    color: #f6c343;
}

.reviews-stars span {
    display: block;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.reviews-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.reviews-primary-button,
.reviews-secondary-button,
.review-choice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-decoration: none;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.reviews-primary-button {
    background: #2f79ae;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(47, 121, 174, 0.28);
}

.reviews-primary-button:hover {
    transform: translateY(-2px);
    background: #3788c0;
    box-shadow: 0 16px 32px rgba(47, 121, 174, 0.36);
}

.reviews-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.reviews-secondary-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   HERO CHS CARD
   ========================================================= */

.reviews-hero-card {
    position: relative;
    padding: 38px 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
    text-align: center;
}

.reviews-logo {
    display: block;
    width: min(190px, 70%);
    height: auto;
    margin: 0 auto 20px;
}

.reviews-hero-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: #ffffff;
}

.reviews-hero-card p {
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   INTRO
   ========================================================= */

.reviews-intro {
    background: #ffffff;
}

.reviews-intro .section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}


/* =========================================================
   REVIEW CHOICES
   ========================================================= */

.review-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.review-choice-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 34px;
    border: 1px solid #e3e8ed;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(13, 31, 45, 0.07);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.review-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(13, 31, 45, 0.11);
}

.review-choice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #edf6fc;
    color: #2f79ae;
    font-size: 1.5rem;
    font-weight: 900;
}

.review-choice-card h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
}

.review-choice-card p {
    flex: 1;
    margin: 0 0 24px;
    line-height: 1.7;
    color: #5d6872;
}

.review-choice-button {
    width: 100%;
    background: #102331;
    color: #ffffff;
}

.review-choice-button:hover {
    transform: translateY(-2px);
    background: #2f79ae;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.reviews-testimonials {
    background: #f4f7f9;
}

.reviews-testimonials .section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial-card {
    position: relative;
    padding: 34px;
    border: 1px solid #e1e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(13, 31, 45, 0.06);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 12px;
    right: 24px;
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(47, 121, 174, 0.1);
}

.testimonial-stars {
    margin-bottom: 20px;
    color: #f6b900;
    font-size: 1.15rem;
    letter-spacing: 3px;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    min-height: 82px;
    margin: 0 0 22px;
    line-height: 1.75;
    color: #46535e;
}

.testimonial-card strong {
    display: block;
    color: #152936;
}

.testimonial-source {
    display: block;
    margin-top: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #73808a;
}

.testimonial-placeholder {
    border-style: dashed;
}


/* =========================================================
   GOOGLE CTA
   ========================================================= */

.reviews-google-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 38px;
    padding: 34px 38px;
    border-radius: 16px;
    background: #102331;
    color: #ffffff;
}

.reviews-google-stars {
    margin-bottom: 8px;
    color: #f6c343;
    letter-spacing: 3px;
}

.reviews-google-cta h3 {
    margin: 0 0 6px;
    color: #ffffff;
}

.reviews-google-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   CONTACT CTA
   ========================================================= */

.reviews-contact {
    background: #ffffff;
}

.reviews-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.reviews-contact-inner > div {
    max-width: 680px;
}

.reviews-contact-inner h2 {
    margin-top: 8px;
    margin-bottom: 12px;
}

.reviews-contact-inner p:not(.eyebrow) {
    margin-bottom: 0;
    color: #5d6872;
}


/* =========================================================
   ACTIVE NAV
   ========================================================= */

.main-nav a[aria-current="page"] {
    color: #ffffff;
    font-weight: 800;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .reviews-hero {
        padding: 100px 0 70px;
    }

    .reviews-hero-inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .reviews-hero-card {
        max-width: 520px;
    }

    .review-choice-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .review-choice-card,
    .testimonial-card {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .reviews-hero {
        padding: 82px 0 58px;
    }

    .reviews-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .reviews-hero-lead {
        font-size: 1rem;
    }

    .reviews-hero-actions {
        flex-direction: column;
    }

    .reviews-primary-button,
    .reviews-secondary-button {
        width: 100%;
    }

    .reviews-hero-card {
        padding: 30px 22px;
    }

    .review-choice-card,
    .testimonial-card {
        padding: 28px 22px;
    }

    .reviews-google-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 24px;
    }

    .reviews-google-cta .reviews-primary-button {
        width: 100%;
    }

    .reviews-contact-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-contact-inner .reviews-primary-button {
        width: 100%;
    }

}