/* ===============================
   Reviews Page (Scoped)
   =============================== */

.reviews-page {
    background: #f9fafb;
}

/* Section spacing */
.reviews-page .reviews-section {
    padding: 80px 0;
}

.reviews-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grid */
.reviews-page .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

/* Review Card */
.reviews-page .review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
}

.reviews-page .review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

/* Card header */
.reviews-page .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviews-page .review-name {
    font-weight: 700;
    font-size: 16px;
    color: #0f2a44;
}

.reviews-page .review-stars {
    color: #fbbf24;
    font-size: 14px;
}

/* Review text */
.reviews-page .review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

/* Date */
.reviews-page .review-date {
    font-size: 13px;
    color: #9ca3af;
}

/* CTA */
.reviews-page .reviews-cta {
    margin-top: 80px;
    padding: 60px 40px;
    border-radius: 16px;
    background: #0f2a44;
    color: #ffffff;
    text-align: center;
}

.reviews-page .reviews-cta h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.reviews-page .reviews-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    color: #d1d5db;
}

/* Buttons (scoped – no nav impact) */
.reviews-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reviews-page .btn-primary {
    background: #ffffff;
    color: #0f2a44;
}

.reviews-page .btn-primary:hover {
    background: #f1f5f9;
}

/* Mobile */
@media (max-width: 768px) {
    .reviews-page .reviews-section {
        padding: 50px 0;
    }

    .reviews-page .reviews-cta {
        padding: 40px 24px;
    }

    .reviews-page .btn {
        width: 100%;
    }
}


/* ===============================
   Reviews Hero + Layout (Moved from inline styles)
   Scoped under .reviews-page
   =============================== */
/* Simple Google Reviews Style */
.reviews-page {
    --review-gold: #fbbc04;
    --review-bg: #f8f9fa;
}

/* Hero - Premium Black Design */
.reviews-hero {
    background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reviews-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L90 90 L10 90 Z" fill="rgba(139,154,91,0.03)"/></svg>');
    opacity: 0.5;
}

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

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.reviews-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.reviews-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.hero-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stars {
    font-size: 3rem;
    color: var(--review-gold);
    letter-spacing: 0.25rem;
}

.hero-score {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.hero-meta {
    font-size: 1.125rem;
    opacity: 0.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    display: block;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
}

/* Grid - controlled by main.css */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Review Card - EXACT Google Style */
.review-card {
    background: var(--review-bg);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Header: Avatar + Name + Badge on one line */
.review-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, #7a8b4f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #202124;
}

.verified-badge {
    width: 14px;
    height: 14px;
    color: #1a73e8;
    margin-left: auto;
}

.author-location {
    display: none;
}

/* Stars */
.review-stars {
    color: var(--review-gold);
    font-size: 0.875rem;
    letter-spacing: 0.0625rem;
}

/* Review Text */
.review-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #202124;
}

/* Footer Info */
.review-footer {
    font-size: 0.75rem;
    color: #5f6368;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Mobile */
@media (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-hero {
        padding: 4rem 1.5rem 3rem;
    }
    
    .reviews-hero h1 {
        font-size: 2rem;
    }
    
    .hero-score {
        font-size: 3rem;
    }
}


/* Final CTA Section */
.final-cta {
    background: var(--black);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(139, 154, 91, 0.2);
    border: 2px solid var(--green);
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.guarantee-icon {
    font-size: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--green);
    color: white;
    border: 2px solid var(--green);
}

.btn-primary:hover {
    background: #7a8b4f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--black);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
