/* ==========================================================================
   RUNDLE LANDSCAPING — REVIEWS & TESTIMONIALS STYLES
   Phase 5A: Stats bar, review cards, rating breakdown, and trust badges
   ========================================================================== */

/* ═══════════════════════════════════════════
   REVIEWS — Page Hero
   ═══════════════════════════════════════════ */
.reviews-hero {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-5xl)) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--clr-charcoal-deep) 0%, var(--clr-charcoal) 40%, var(--clr-sage-dark) 100%);
    overflow: hidden;
    text-align: center;
}

.reviews-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 65%, rgba(92,122,92,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 25%, rgba(196,168,130,0.08) 0%, transparent 55%);
}

.reviews-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.reviews-hero .page-hero-breadcrumb {
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.reviews-hero-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    color: white;
    margin-bottom: var(--space-md);
    letter-spacing: var(--ls-tight);
}

.reviews-hero-subtitle {
    font-size: var(--fs-body-lg);
    color: rgba(255,255,255,0.65);
    line-height: var(--lh-relaxed);
    max-width: 560px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════
   REVIEWS — Stats Summary Bar
   ═══════════════════════════════════════════ */
.reviews-stats {
    background: white;
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-2xl) 0;
}

.reviews-stats-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Left — Big rating number */
.stats-overall {
    text-align: center;
    padding-right: var(--space-2xl);
    border-right: 1px solid var(--clr-border);
}

.stats-overall-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: var(--fw-bold);
    color: var(--clr-text);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stats-overall-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--space-sm);
}

.stats-overall-stars svg {
    width: 20px;
    height: 20px;
    color: var(--clr-gold);
    fill: var(--clr-gold);
}

.stats-overall-count {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
}

/* Center — Rating breakdown bars */
.stats-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.breakdown-row {
    display: grid;
    grid-template-columns: 50px 1fr 36px;
    gap: var(--space-sm);
    align-items: center;
}

.breakdown-label {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
    text-align: right;
}

.breakdown-bar {
    height: 8px;
    background: var(--clr-off-white);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-gold-dark), var(--clr-gold));
    border-radius: var(--radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.breakdown-count {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    font-weight: var(--fw-medium);
}

/* Right — Platform badges */
.stats-platforms {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-left: var(--space-2xl);
    border-left: 1px solid var(--clr-border);
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    color: var(--clr-text-soft);
    font-weight: var(--fw-medium);
}

.platform-badge-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.platform-badge-icon.google { background: rgba(66,133,244,0.1); }
.platform-badge-icon.facebook { background: rgba(24,119,242,0.1); }

.platform-badge-stars {
    display: flex;
    gap: 1px;
    margin-left: auto;
}

.platform-badge-stars svg {
    width: 12px;
    height: 12px;
    color: var(--clr-gold);
    fill: var(--clr-gold);
}

@media (max-width: 768px) {
    .reviews-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .stats-overall {
        padding-right: 0;
        border-right: none;
        padding-bottom: var(--space-xl);
        border-bottom: 1px solid var(--clr-border);
    }

    .stats-platforms {
        padding-left: 0;
        border-left: none;
        padding-top: var(--space-xl);
        border-top: 1px solid var(--clr-border);
        flex-direction: row;
        justify-content: center;
    }

    .breakdown-row {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}


/* ═══════════════════════════════════════════
   REVIEWS — Review Cards Section
   ═══════════════════════════════════════════ */
.reviews-section {
    padding: var(--space-5xl) 0;
    background: var(--clr-cream);
}

.reviews-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Individual review card */
.review-card-full {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-smooth);
}

.review-card-full:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Decorative quote mark */
.review-card-full::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(92,122,92,0.06);
    line-height: 1;
    pointer-events: none;
}

/* Stars row */
.review-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.review-card-stars svg {
    width: 16px;
    height: 16px;
    color: var(--clr-gold);
    fill: var(--clr-gold);
}

/* Service tag pill */
.review-service-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(92,122,92,0.08);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: var(--fw-semibold);
    color: var(--clr-sage);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--space-md);
}

/* Review text */
.review-card-full blockquote {
    font-size: var(--fs-small);
    color: var(--clr-text-soft);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

/* Author row */
.review-card-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--clr-border);
}

.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--clr-sage), var(--clr-sage-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    flex-shrink: 0;
}

.review-card-author-info strong {
    display: block;
    font-size: var(--fs-small);
    color: var(--clr-text);
    font-weight: var(--fw-semibold);
}

.review-card-author-info span {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
}

/* Platform source label */
.review-source {
    margin-left: auto;
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-source-icon {
    width: 14px;
    height: 14px;
}

/* Featured card — spans 2 columns */
.review-card-full.featured-review {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(92,122,92,0.03) 0%, white 100%);
    border-color: rgba(92,122,92,0.15);
}

.review-card-full.featured-review blockquote {
    font-size: var(--fs-body);
}

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

    .review-card-full.featured-review {
        grid-column: span 2;
    }
}

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

    .review-card-full.featured-review {
        grid-column: span 1;
    }
}


/* ═══════════════════════════════════════════
   REVIEWS — Trust Badges Strip
   ═══════════════════════════════════════════ */
.reviews-trust {
    padding: var(--space-3xl) 0;
    background: white;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.trust-badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(92,122,92,0.08);
    border-radius: var(--radius-md);
}

.trust-badge-icon svg {
    width: 24px;
    height: 24px;
    color: var(--clr-sage);
}

.trust-badge h4 {
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--clr-text);
}

.trust-badge p {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    max-width: 160px;
}


/* ═══════════════════════════════════════════
   REVIEWS — CTA Banner
   ═══════════════════════════════════════════ */
.reviews-cta {
    padding: var(--space-5xl) 0;
    background: var(--clr-charcoal-deep);
}

.reviews-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.reviews-cta-content h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    color: white;
    margin-bottom: var(--space-md);
}

.reviews-cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-body-lg);
    margin-bottom: var(--space-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.reviews-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.4);
}

.reviews-cta-phone a {
    color: var(--clr-sage-light);
    font-weight: var(--fw-medium);
}

.reviews-cta-phone a:hover {
    color: white;
}

.reviews-cta-phone svg {
    width: 16px;
    height: 16px;
}
