/* ========================================
   REVIEWS PAGE
   ======================================== */

/* Hero Overrides */
.page-hero {
    background: var(--green-wash);
    min-height: auto;
    text-align: center;
    padding-bottom: var(--space-lg);
}
.page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-hero__quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: var(--green-pale);
    border-radius: 50%;
    color: var(--green);
    margin-bottom: var(--space-md);
    animation: heroFadeUp 0.8s 0.05s both cubic-bezier(0.16, 1, 0.3, 1);
}
.page-hero__quote-icon svg { width: 24px; height: 24px; }
.page-hero__rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    animation: heroFadeUp 0.8s 0.15s both cubic-bezier(0.16, 1, 0.3, 1);
}
.page-hero__rating-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--slate);
    font-weight: 700;
    line-height: 1;
}
.page-hero__rating-stars {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}
.page-hero__stars-row {
    display: flex;
    gap: 3px;
}
.page-hero__stars-row svg {
    width: 18px; height: 18px;
    fill: #F59E0B;
}
.page-hero__rating-text {
    font-size: 0.78rem;
    color: var(--slate-light);
    font-weight: 500;
}
.page-hero__title {
    text-align: center;
    max-width: 100%;
    color: var(--slate);
}
.page-hero__subtitle {
    text-align: center;
    max-width: 52ch;
    color: var(--slate-light);
}
.page-hero__faces {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: var(--space-md);
    animation: heroFadeUp 0.8s 0.5s both cubic-bezier(0.16, 1, 0.3, 1);
}
.page-hero__face {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--green-wash);
    margin-left: -10px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-hero__face:first-child { margin-left: 0; }
.page-hero__face img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.page-hero__faces-label {
    font-size: 0.78rem;
    color: var(--slate-light);
    margin-left: 0.75rem;
    line-height: 1.3;
}
.page-hero__faces-label strong {
    color: var(--slate);
}

/* ========================================
   RATING SUMMARY BAR
   ======================================== */
.rating-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
    position: relative;
    z-index: 3;
}
.rating-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
}
.rating-bar__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.rating-bar__icon {
    width: 40px; height: 40px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}
.rating-bar__icon svg { width: 18px; height: 18px; }
.rating-bar__label {
    font-size: 0.78rem;
    color: var(--slate-light);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.rating-bar__value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--slate);
    line-height: 1.2;
}
.rating-bar__google {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-mid);
}
.rating-bar__google svg { width: 18px; height: 18px; }

/* ========================================
   FEATURED REVIEW
   ======================================== */
.featured-review {
    background: var(--green-wash);
    border: 2px solid var(--green-pale);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    position: relative;
}
.featured-review__quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--green);
    border-radius: 50%;
    color: var(--white);
    margin-bottom: var(--space-md);
}
.featured-review__quote-icon svg { width: 22px; height: 22px; }
.featured-review__stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--space-md);
}
.featured-review__stars svg {
    width: 22px; height: 22px;
    fill: #F59E0B;
}
.featured-review__text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.featured-review__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.featured-review__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}
.featured-review__info {
    text-align: left;
}
.featured-review__name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--slate);
}
.featured-review__location {
    font-size: 0.82rem;
    color: var(--slate-light);
}
.featured-review__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-mid);
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}
.featured-review__badge svg { width: 14px; height: 14px; }

/* ========================================
   LEAVE A REVIEW CTA
   ======================================== */
.review-cta {
    padding: var(--space-2xl) 0;
    background: var(--green-wash);
    text-align: center;
}
.review-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.review-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: var(--green-pale);
    border-radius: 50%;
    color: var(--green);
    margin-bottom: var(--space-md);
}
.review-cta__icon svg { width: 24px; height: 24px; }
.review-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--slate);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.review-cta__text {
    font-size: 1.05rem;
    color: var(--slate-light);
    line-height: 1.7;
    max-width: 50ch;
    font-weight: 300;
    margin-bottom: var(--space-lg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 640px) {
    .page-hero .container {
        padding: var(--space-2xl) 1.5rem var(--space-xl);
    }
    .featured-review {
        padding: 3rem;
    }
    .page-hero__face {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 768px) {
    .rating-bar .container {
        flex-wrap: nowrap;
    }
}

@media (min-width: 1024px) {
    .featured-review {
        padding: 3.5rem;
    }
}
