/* ==========================================================================
   Reviews Page Styles
   ========================================================================== */

/* ---- CTA Section with background image + blur ----
   Uses the same hero-style pattern: absolute image + overlay.
   White text over dark overlay for readability. */
.section--cta-bg {
    position: relative;
    overflow: hidden;
}

.cta__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    transform: scale(1.02); /* Prevent blurred edge gaps */
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.section--cta-bg .container {
    position: relative;
    z-index: 2;
}

/* White text on dark background overlay */
.section--cta-bg .cta__title {
    color: var(--color-white);
}

.section--cta-bg .cta__description {
    color: rgba(255, 255, 255, 0.85);
}

/* ---- CTA layout — centered content ---- */
.reviews-page .section--cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-page .cta__content {
    text-align: center;
    max-width: var(--container-sm);
    margin-left: auto;
    margin-right: auto;
}

.reviews-page .cta__title {
    font-size: var(--fs-3xl);
    line-height: var(--lh-snug);
}

.reviews-page .cta__actions {
    justify-content: center;
}

/* CTA image spans full container width (matches mockup 1280×738 image). */
.reviews-page .cta__image {
    margin-top: var(--space-4xl);
}

.reviews-page .cta__image img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
}

/* ---- Desktop overrides ---- */
@media (min-width: 1024px) {
    .reviews-page .cta__title {
        font-size: 6rem; /* 60px — matches mockup */
        line-height: 1.2;
    }
}
