.reviews-hero h1 {
    max-width: 860px;
}

.reviews-page {
    padding: 76px 0 96px;
}

.reviews-heading {
    align-items: flex-end;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.reviews-notice,
.reviews-empty {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--blue);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(23, 27, 34, 0.06);
}

.reviews-notice {
    color: #4b5661;
    font-weight: 650;
}

.reviews-empty h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

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

.reviews-empty code {
    padding: 2px 6px;
    background: var(--blue-soft);
    border-radius: 6px;
    font-size: 0.9em;
}

.review-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 38px rgba(23, 27, 34, 0.06);
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.review-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.review-service {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.86rem;
}

.review-stars {
    flex: 0 0 auto;
    color: #f4b400;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    line-height: 1;
}

.review-card p {
    margin: auto 0 0;
    color: #46515c;
    font-size: 0.98rem;
}

.reviews-source {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.reviews-source a {
    color: var(--blue-dark);
    font-weight: 750;
    text-decoration: none;
}

.reviews-source a:hover {
    text-decoration: underline;
}

.google-review-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    margin-top: 72px;
    padding: clamp(28px, 5vw, 56px);
    color: #fff;
    background: linear-gradient(135deg, var(--ink), #213244);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.google-review-copy h2 {
    margin: 8px 0 14px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.google-review-copy p {
    max-width: 670px;
    margin: 0 0 28px;
    color: #c5ced6;
}

.google-review-copy .eyebrow {
    color: #71c9f3;
}

.google-review-qr {
    display: grid;
    gap: 14px;
    justify-items: center;
    padding: 18px;
    color: var(--ink);
    background: #fff;
    border-radius: 22px;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.google-review-qr:hover,
.google-review-qr:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    outline: none;
}

.qr-frame {
    display: block;
    width: min(100%, 220px);
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.qr-frame img {
    width: 100%;
    height: auto;
}

.google-review-qr > span:last-child {
    color: #4b5661;
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .google-review-qr {
        justify-self: start;
        width: min(100%, 300px);
    }
}

@media (max-width: 600px) {
    .reviews-page {
        padding: 58px 0 72px;
    }

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

    .review-card {
        min-height: 0;
    }

    .review-card-header {
        flex-direction: column;
    }

    .google-review-cta {
        margin-top: 52px;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .google-review-copy .button,
    .google-review-qr {
        width: 100%;
    }

    .google-review-qr {
        justify-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .google-review-qr {
        transition: none;
    }
}
