:root {
    --reviews-navy: #0b2a5b;
    --reviews-navy-dark: #061d41;
    --reviews-navy-soft: #173d70;
    --reviews-green: #4caf50;
    --reviews-green-dark: #348c39;
    --reviews-green-light: #eaf7eb;
    --reviews-white: #ffffff;
    --reviews-gray: #f5f7fa;
    --reviews-gray-soft: #eef2f6;
    --reviews-text: #26364d;
    --reviews-muted: #68768a;
    --reviews-border: #dfe6ee;
    --reviews-star-empty: #d7dde5;
    --reviews-shadow: 0 18px 50px rgba(11, 42, 91, 0.1);
    --reviews-shadow-hover: 0 26px 65px rgba(11, 42, 91, 0.18);
}

/* Hero */

.reviews-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(6rem, 10vw, 9rem);
    color: var(--reviews-white);
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(76, 175, 80, 0.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--reviews-navy-dark) 0%,
            var(--reviews-navy) 58%,
            var(--reviews-navy-soft) 100%
        );
}

.reviews-hero::after {
    position: absolute;
    right: -5%;
    bottom: -115px;
    left: -5%;
    height: 170px;
    content: "";
    background: var(--reviews-gray);
    border-radius: 50% 50% 0 0 / 45% 45% 0 0;
}

.reviews-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
}

.reviews-hero__copy {
    max-width: 780px;
}

.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: var(--reviews-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.reviews-eyebrow::before {
    width: 28px;
    height: 3px;
    content: "";
    background: currentColor;
    border-radius: 99px;
}

.reviews-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--reviews-white);
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.reviews-title-line {
    display: block;
    width: 82px;
    height: 5px;
    margin: 1.5rem 0;
    background: var(--reviews-green);
    border-radius: 99px;
}

.reviews-hero__copy > p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.8;
}

.reviews-hero__decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.reviews-hero__decoration--one {
    top: -180px;
    right: -100px;
    width: 470px;
    height: 470px;
}

.reviews-hero__decoration--two {
    right: 250px;
    bottom: -230px;
    width: 390px;
    height: 390px;
}

.hero-rating {
    position: relative;
    min-width: 245px;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.hero-rating__label {
    display: block;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-rating__score {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.hero-rating__score strong {
    color: var(--reviews-white);
    font-size: 3.7rem;
    line-height: 1;
}

.hero-rating__score span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.hero-rating__caption {
    display: block;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
}

/* Stars */

.review-stars {
    display: flex;
    gap: 0.18rem;
    color: var(--reviews-star-empty);
    font-size: 1.15rem;
    line-height: 1;
}

.review-stars .is-filled {
    color: var(--reviews-green);
}

.hero-rating .review-stars {
    justify-content: center;
    font-size: 1.3rem;
}

/* Rating summary */

.review-summary-section {
    position: relative;
    z-index: 3;
    margin-top: -3.8rem;
    padding-bottom: 2rem;
}

.google-review-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.4rem;
    align-items: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    background: var(--reviews-white);
    border: 1px solid rgba(11, 42, 91, 0.07);
    border-radius: 24px;
    box-shadow: var(--reviews-shadow);
}

.google-review-summary__badge {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: var(--reviews-white);
    background: var(--reviews-green);
    border-radius: 18px;
    box-shadow: 0 12px 25px rgba(76, 175, 80, 0.25);
}

.google-review-summary__badge svg {
    width: 30px;
    fill: currentColor;
}

.google-review-summary__label,
.google-review-summary__count {
    display: block;
    color: var(--reviews-muted);
    font-size: 0.86rem;
}

.google-review-summary__rating {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin: 0.2rem 0;
}

.google-review-summary__rating strong {
    color: var(--reviews-navy);
    font-size: 2rem;
    line-height: 1;
}

.google-review-summary__trust {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--reviews-green-dark);
    font-size: 0.83rem;
    font-weight: 800;
    background: var(--reviews-green-light);
    border-radius: 99px;
}

.google-review-summary__trust svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Testimonials */

.testimonials-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--reviews-gray);
}

.testimonials-heading {
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.testimonials-heading .reviews-eyebrow {
    justify-content: center;
}

.testimonials-heading h2 {
    margin: 0 0 1rem;
    color: var(--reviews-navy);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.testimonials-heading p {
    margin: 0;
    color: var(--reviews-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 360px;
    flex-direction: column;
    padding: clamp(1.6rem, 3vw, 2.25rem);
    overflow: hidden;
    background: var(--reviews-white);
    border: 1px solid rgba(11, 42, 91, 0.07);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(11, 42, 91, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.testimonial-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(
        90deg,
        var(--reviews-green),
        var(--reviews-navy)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.testimonial-card:hover {
    z-index: 2;
    border-color: rgba(76, 175, 80, 0.32);
    box-shadow: var(--reviews-shadow-hover);
    transform: translateY(-8px);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card__quote {
    position: absolute;
    top: 0.35rem;
    right: 1.2rem;
    color: rgba(76, 175, 80, 0.08);
    font-family: Georgia, serif;
    font-size: 9rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card__header {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.testimonial-avatar {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    overflow: hidden;
    color: var(--reviews-white);
    background: linear-gradient(
        135deg,
        var(--reviews-navy),
        var(--reviews-green)
    );
    border: 4px solid var(--reviews-white);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(11, 42, 91, 0.17);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar span {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.testimonial-person {
    min-width: 0;
}

.testimonial-person h3 {
    margin: 0 0 0.3rem;
    overflow: hidden;
    color: var(--reviews-navy);
    font-size: 1.05rem;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.testimonial-person__city {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    color: var(--reviews-muted);
    font-size: 0.84rem;
}

.testimonial-person__city svg {
    width: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: var(--reviews-green);
    stroke-width: 1.8;
}

.testimonial-card__stars {
    position: relative;
    z-index: 1;
    margin: 1.5rem 0 1.1rem;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0;
}

.testimonial-card blockquote p {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--reviews-text);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card__service {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: 1.6rem;
    padding-top: 1rem;
    color: var(--reviews-navy);
    font-size: 0.78rem;
    font-weight: 800;
    border-top: 1px solid var(--reviews-gray-soft);
}

.testimonial-card__service svg {
    width: 17px;
    fill: none;
    stroke: var(--reviews-green);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

/* Pagination */

.reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    align-items: center;
    margin-top: 3.5rem;
}

.reviews-pagination__page,
.reviews-pagination__arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--reviews-navy);
    font-weight: 800;
    text-decoration: none;
    background: var(--reviews-white);
    border: 1px solid var(--reviews-border);
    border-radius: 12px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.reviews-pagination__page:hover,
.reviews-pagination__arrow:hover,
.reviews-pagination__page.is-current {
    color: var(--reviews-white);
    background: var(--reviews-green);
    border-color: var(--reviews-green);
    transform: translateY(-2px);
}

/* Trust banner */

.trust-banner-section {
    padding: 0 0 clamp(4rem, 7vw, 6rem);
    background: var(--reviews-gray);
}

.trust-banner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--reviews-white);
    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(76, 175, 80, 0.22),
            transparent 30%
        ),
        var(--reviews-navy);
    border-radius: 24px;
    box-shadow: 0 22px 50px rgba(11, 42, 91, 0.2);
}

.trust-banner__copy {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.trust-banner__icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    color: var(--reviews-white);
    background: var(--reviews-green);
    border-radius: 16px;
}

.trust-banner__icon svg {
    width: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.trust-banner__copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
}

.trust-banner__copy strong {
    color: var(--reviews-white);
}

.trust-banner__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-banner__benefits li {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    padding: 0.6rem 0.9rem;
    color: var(--reviews-white);
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 99px;
}

.trust-banner__benefits span {
    color: var(--reviews-green);
}

/* CTA */

.reviews-cta-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--reviews-white);
}

.reviews-cta {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--reviews-green-light);
    border: 1px solid rgba(76, 175, 80, 0.18);
    border-radius: 28px;
}

.reviews-cta h2 {
    margin: 0 0 0.8rem;
    color: var(--reviews-navy);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    letter-spacing: -0.03em;
}

.reviews-cta p {
    max-width: 680px;
    margin: 0;
    color: var(--reviews-muted);
    line-height: 1.7;
}

.reviews-cta__button {
    display: inline-flex;
    min-width: max-content;
    gap: 0.8rem;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--reviews-white);
    font-weight: 800;
    text-decoration: none;
    background: var(--reviews-navy);
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(11, 42, 91, 0.2);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.reviews-cta__button:hover {
    color: var(--reviews-white);
    background: var(--reviews-green-dark);
    box-shadow: 0 16px 30px rgba(76, 175, 80, 0.25);
    transform: translateY(-3px);
}

.reviews-cta__button span {
    font-size: 1.25rem;
}

/* Empty state */

.reviews-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--reviews-white);
    border-radius: 24px;
    box-shadow: var(--reviews-shadow);
}

.reviews-empty > span {
    color: var(--reviews-green);
    font-size: 2.5rem;
}

.reviews-empty h2 {
    margin: 1rem 0 0.6rem;
    color: var(--reviews-navy);
}

.reviews-empty p {
    margin: 0;
    color: var(--reviews-muted);
}

/* Tablet */

@media (max-width: 991px) {
    .reviews-hero__content {
        grid-template-columns: 1fr;
    }

    .hero-rating {
        width: 100%;
        max-width: 360px;
    }

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

    .trust-banner,
    .reviews-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .google-review-summary {
        grid-template-columns: auto 1fr;
    }

    .google-review-summary__trust {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .reviews-hero {
        padding-top: 4.5rem;
    }

    .reviews-hero::after {
        bottom: -135px;
    }

    .reviews-hero h1 {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .hero-rating {
        min-width: 0;
        max-width: none;
    }

    .review-summary-section {
        margin-top: -2.8rem;
    }

    .google-review-summary {
        grid-template-columns: 1fr;
        padding: 1.4rem;
        text-align: center;
    }

    .google-review-summary__badge,
    .google-review-summary__trust {
        justify-self: center;
    }

    .google-review-summary__rating {
        justify-content: center;
        flex-direction: column;
        gap: 0.45rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: auto;
        border-radius: 20px;
    }

    .trust-banner__copy {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-banner__benefits {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .trust-banner__benefits li {
        justify-content: center;
    }

    .reviews-cta__button {
        justify-content: center;
        width: 100%;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion