/* Google Reviews — gr-* namespace, brand-consistent minimalism */

.gr-page {
    background: var(--bg-secondary, #f8fafc);
}

/* ── Hero ────────────────────────────────────────────────── */
.gr-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color, #8a356a) 0%, var(--primary-dark, #6f2a56) 100%);
    padding: 2.5rem 0 2rem;
    overflow: hidden;
}

.gr-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.gr-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}

.gr-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
    backdrop-filter: blur(6px);
    margin-bottom: 0.75rem;
}

.gr-hero__badge i {
    font-size: 0.9rem;
    opacity: 0.95;
}

.gr-hero__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.gr-hero__sub {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1.5rem;
    line-height: 1.55;
}

/* Rating summary */
.gr-rating {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg, 12px);
    backdrop-filter: blur(8px);
}

.gr-rating__score {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.gr-rating__stars {
    display: flex;
    gap: 0.15rem;
    color: var(--secondary-color, #eed715);
    font-size: 0.95rem;
}

.gr-rating__count {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* ── Content ─────────────────────────────────────────────── */
.gr-content {
    padding: 2rem 0 4rem;
}

.gr-content .container {
    max-width: 1140px;
}

/* ── Review grid ─────────────────────────────────────────── */
.gr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* ── Review card ─────────────────────────────────────────── */
.gr-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gr-card:hover {
    border-color: rgba(138, 53, 106, 0.25);
    box-shadow: 0 6px 20px rgba(138, 53, 106, 0.07);
}

.gr-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.gr-card__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(138, 53, 106, 0.08);
    border: 2px solid var(--border-light, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gr-card__avatar-initials {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color, #8a356a);
    letter-spacing: 0.02em;
}

.gr-card__meta {
    flex: 1;
    min-width: 0;
}

.gr-card__name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.gr-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.gr-card__verified {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.gr-card__verified path:first-child {
    fill: #4285f4;
}

.gr-card__stars {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.2rem;
}

.gr-card__star {
    display: inline-flex;
    color: #e2e8f0;
}

.gr-card__star--filled {
    color: #f59e0b;
}

.gr-card__star svg {
    display: block;
}

.gr-card__date {
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
}

.gr-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

/* Business reply */
.gr-card__reply {
    padding: 0.875rem 1rem;
    background: var(--bg-secondary, #f8fafc);
    border-left: 3px solid var(--primary-color, #8a356a);
    border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
}

.gr-card__reply-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.gr-card__reply-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color, #8a356a);
}

.gr-card__reply-date {
    font-size: 0.75rem;
    color: var(--text-muted, #94a3b8);
}

.gr-card__reply-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

/* ── Empty state ─────────────────────────────────────────── */
.gr-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--bg-card, #fff);
    border: 1px dashed var(--border-light, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
}

.gr-empty__icon {
    font-size: 2.5rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.gr-empty__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.5rem;
}

.gr-empty__text {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

/* ── Pagination ────────────────────────────────────────────── */
.gr-pagination {
    margin-top: 2rem;
}

.gr-pagination .pagination {
    gap: 0.35rem;
}

.gr-pagination .page-link {
    min-width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #64748b);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gr-pagination .page-link:hover {
    color: var(--primary-color, #8a356a);
    border-color: rgba(138, 53, 106, 0.35);
    background: rgba(138, 53, 106, 0.04);
}

.gr-pagination .page-item.active .page-link {
    color: #fff;
    background: var(--primary-color, #8a356a);
    border-color: var(--primary-color, #8a356a);
}

/* ── CTA block ─────────────────────────────────────────────── */
.gr-cta {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    text-align: center;
}

.gr-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: #4285f4;
    border: none;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gr-cta__btn:hover {
    color: #fff;
    background: #3367d6;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.35);
    transform: translateY(-1px);
}

.gr-cta__btn svg {
    flex-shrink: 0;
}

.gr-cta__qr {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light, #e2e8f0);
}

.gr-cta__qr-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary, #64748b);
    margin: 0 0 0.75rem;
}

.gr-cta__qr-img {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--border-light, #e2e8f0);
    padding: 0.35rem;
    background: #fff;
}

.gr-cta__qr-hint {
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
    margin: 0.75rem 0 0;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
    .gr-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .gr-hero {
        padding: 2rem 0 1.75rem;
    }

    .gr-rating {
        padding: 0.875rem 1.25rem;
    }

    .gr-rating__score {
        font-size: 1.875rem;
    }

    .gr-content {
        padding: 1.5rem 0 3rem;
    }

    .gr-card {
        padding: 1rem;
    }

    .gr-cta {
        padding: 1.25rem;
    }
}
