/* ============================================================
   Oahu Prep — reviews.css
   Reviews page: hero, stat bar, featured review, mixed grid,
   standout cards, review cards, bottom CTA
   ============================================================ */


/* ============================================================
   Reviews Hero
   ============================================================ */

#reviews-hero {
    background: var(--orange-light);
    padding-bottom: 0;
}

.reviews-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.reviews-page-heading {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
}

.reviews-hero-sub {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 480px;
    margin: 1rem auto 1.5rem;
}

.reviews-google-badge {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50rem;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.reviews-google-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.reviews-badge-stars {
    color: var(--orange);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.reviews-badge-score {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark);
    margin-left: 0.35rem;
}

.reviews-badge-count {
    color: var(--gray-muted);
    font-size: 0.9rem;
    margin-left: 0.35rem;
}


/* ============================================================
   Stat Highlights Bar
   ============================================================ */

#reviews-stats {
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.reviews-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.75rem 0;
}

.reviews-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.reviews-stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--blue);
    line-height: 1.1;
}

.reviews-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.reviews-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-border);
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .reviews-stats-row {
        gap: 1.25rem;
        flex-wrap: wrap;
    }
    .reviews-stat-number {
        font-size: 1.4rem;
    }
    .reviews-stat-label {
        font-size: 0.7rem;
    }
    .reviews-stat-divider {
        height: 28px;
    }
}


/* ============================================================
   Featured Review
   ============================================================ */

#reviews-featured {
    background: var(--white);
}

.review-featured {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    border-left: 5px solid var(--orange);
    padding: 2.5rem 3rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    max-width: 820px;
    margin: 0 auto;
}

.review-featured-quote-accent {
    font-family: Georgia, serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--orange);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    top: 12px;
    left: 24px;
    pointer-events: none;
}

.review-featured-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--gray-text);
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .review-featured {
        padding: 2rem 1.5rem;
    }
}


/* ============================================================
   Reviews Grid Section
   ============================================================ */

#reviews-grid {
    background-color: var(--gray-bg);
    background-image: url('../images/dot-pattern.svg');
    background-repeat: repeat;
}

.reviews-section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    display: inline-block;
    width: 100%;
}

.reviews-section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    border-radius: 2px;
    margin: 0.75rem auto 0;
}


/* ============================================================
   Masonry Layout
   ============================================================ */

.reviews-masonry {
    display: flex;
    gap: 1.5rem;
}

.reviews-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tablet: 2 columns */
@media (max-width: 991.98px) {
    .reviews-column:nth-child(3) {
        display: none;
    }
}

/* Mobile: single column, all cards visible */
@media (max-width: 767.98px) {
    .reviews-masonry {
        flex-direction: column;
    }
    .reviews-column:nth-child(3) {
        display: flex;
    }
}


/* ============================================================
   Review Cards
   ============================================================ */

/* Override shared height: 100% — masonry needs natural card height */
.reviews-masonry .review-card {
    height: auto;
}

/* Standout cards — accent left border */
.review-card--standout {
    border-left: 4px solid var(--orange);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.review-card--standout-blue {
    border-left: 4px solid var(--blue);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.review-card--standout .review-text,
.review-card--standout-blue .review-text {
    font-size: 1rem;
    line-height: 1.7;
}

/* Key phrase emphasis — matches index.css pattern */
/* ============================================================
   Photo Cards (inline with masonry)
   ============================================================ */

.review-photo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-border);
    background: var(--white);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.review-photo-img {
    width: 100%;
    height: auto;
    display: block;
}

.review-photo-caption {
    font-size: 0.8rem;
    color: var(--gray-muted);
    text-align: center;
    padding: 0.6rem 1rem;
    margin: 0;
}


/* ============================================================
   Review Footer (shared across cards & featured)
   ============================================================ */

/* ============================================================
   Tutor Strip (between featured & grid)
   ============================================================ */

#reviews-tutor-strip {
    background: var(--white);
}

.reviews-tutor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 540px;
    margin: 0 auto;
}

.reviews-tutor-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--blue);
    flex-shrink: 0;
}

.reviews-tutor-text {
    text-align: left;
}

.reviews-tutor-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
    line-height: 1.35;
}

.reviews-tutor-sub {
    font-size: 0.9rem;
    color: var(--gray-muted);
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .reviews-tutor-card {
        flex-direction: column;
        text-align: center;
    }
    .reviews-tutor-text {
        text-align: center;
    }
}