/* =====================================================================
   Reviews page (/reviews)
   Sections: hero (rating + review CTA + compact social proof) ·
   written reviews (2 featured + trio) · single video testimonial ·
   closing "leave a review" CTA.
   Scoped under .rv-page. Manrope / Lexend, light theme, teal accents.
   ===================================================================== */

.rv-page {
    --rv-teal: #009282;
    --rv-bright: #0eafa0;
    --rv-dark: #00293a;
    --rv-ink: #1d3a44;
    --rv-grey: #5a6b73;
    --rv-soft: #f6fafa;
    --rv-line: #e6eef0;
    background: #ffffff;
    font-family: Manrope, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

.rv-page h1,
.rv-page h2 {
    font-family: Lexend, Manrope, system-ui, sans-serif;
    color: var(--rv-dark);
    letter-spacing: -0.5px;
    margin: 0;
}

.rv-eyebrow {
    display: inline-block;
    color: var(--rv-teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* gold star.png row */
.rv-stars { display: inline-flex; align-items: center; gap: 3px; }
.rv-stars img { width: 18px; height: 18px; }

/* google pill badge */
.rv-gbadge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--rv-soft); border: 1px solid var(--rv-line);
    border-radius: 999px; padding: 5px 11px 5px 8px;
    font-size: 11px; font-weight: 700; color: var(--rv-grey);
}
.rv-gbadge svg { width: 14px; height: 14px; }

/* buttons */
.rv-btn {
    display: inline-flex; align-items: center; gap: 10px;
    border-radius: 999px; padding: 14px 26px;
    font-family: Lexend, Manrope, sans-serif; font-weight: 700; font-size: 15px;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rv-btn svg { width: 18px; height: 18px; }
/* prominent "leave a review" CTA */
.rv-btn-review {
    background: linear-gradient(135deg, var(--rv-bright), var(--rv-teal));
    color: #ffffff;
    padding: 18px 42px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 18px 40px rgba(0, 146, 130, 0.45);
}
.rv-btn-review:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(0, 146, 130, 0.55); }
.rv-btn-review .rv-g-chip {
    width: 30px; height: 30px; border-radius: 999px; background: #fff;
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.rv-btn-review .rv-g-chip svg { width: 18px; height: 18px; }
/* white google button (on dark panel) */
.rv-btn-google { background: #fff; color: var(--rv-dark); border-color: var(--rv-line); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.rv-btn-google:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

/* ================================================================ HERO */
.rv-hero {
    position: relative; text-align: center;
    padding: 72px 0 62px;
    overflow: hidden;
    background:
        radial-gradient(1100px 560px at 88% 120%, rgba(14, 175, 160, 0.22), transparent 60%),
        radial-gradient(820px 460px at 6% -10%, rgba(0, 146, 130, 0.30), transparent 65%),
        linear-gradient(135deg, #0e1f2a 0%, #0a4f4a 100%);
}
/* hero sits on a dark gradient (like the services pages) — light text */
.rv-hero .rv-eyebrow { color: #7ff0e2; }
.rv-hero h1 { color: #ffffff; }
.rv-hero .rv-sub { color: rgba(255, 255, 255, 0.94); font-weight: 500; }
.rv-hero .rv-proof-text { color: #ffffff; }
.rv-hero h1 { font-size: 40px; font-weight: 800; line-height: 1.12; max-width: 760px; margin: 0 auto 14px; }
.rv-hero .rv-sub { max-width: 580px; margin: 0 auto 26px; color: rgba(255, 255, 255, 0.94); font-size: 16.5px; line-height: 1.6; font-weight: 500; }
.rv-rating {
    display: inline-flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--rv-line); border-radius: 999px;
    padding: 10px 20px; box-shadow: 0 12px 30px rgba(0, 41, 58, 0.08); margin-bottom: 22px;
}
.rv-rating .rv-score { font-family: Lexend, sans-serif; font-weight: 800; font-size: 18px; color: var(--rv-dark); }
.rv-rating .rv-stars img { width: 16px; height: 16px; }
.rv-rating .rv-on-google { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--rv-grey); }
.rv-rating .rv-on-google svg { width: 16px; height: 16px; }
.rv-rating-sep { width: 1px; height: 20px; background: var(--rv-line); }
.rv-hero-cta { display: flex; justify-content: center; }

/* compact social proof (reuses home .avatars--brands circular logos) */
.rv-proof {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
    margin-top: 34px;
}
.rv-proof .avatars--brands { margin: 0; }
.rv-proof-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rv-proof-stars img { width: 16px; height: 16px; }
.rv-proof-text { font-family: Lexend, sans-serif; font-weight: 800; font-size: 14.5px; color: var(--rv-grey); }

/* smooth, swift anchor scrolling for "see all reviews" (scoped to this page) */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
.rv-page #written { scroll-margin-top: 90px; }

/* "see all reviews" scroll button */
.rv-scrollcue {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 30px;
    padding: 12px 24px; border-radius: 999px;
    background: #ffffff; border: 1px solid var(--rv-line);
    box-shadow: 0 10px 26px rgba(0, 41, 58, 0.09);
    font-family: Lexend, sans-serif; font-weight: 700; font-size: 14px;
    color: var(--rv-dark); text-decoration: none; cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rv-scrollcue:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 41, 58, 0.14); border-color: #d4dee0; }
.rv-scrollcue svg { width: 16px; height: 16px; color: var(--rv-teal); animation: rvBounce 1.5s ease-in-out infinite; }
@keyframes rvBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ============================================================= SECTIONS */
.rv-section { padding: 72px 0; }
.rv-section.alt { background: var(--rv-soft); }
.rv-shead { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.rv-shead h2 { font-size: 32px; font-weight: 800; line-height: 1.18; margin-bottom: 12px; }
.rv-shead p { color: var(--rv-grey); font-size: 16px; line-height: 1.6; font-weight: 500; margin: 0; }

/* ============================ WRITTEN REVIEWS: featured + trio ======== */
.rv-featwrap { max-width: 1000px; margin: 0 auto 26px; display: flex; flex-direction: column; gap: 24px; }
.rv-feature {
    display: flex; align-items: center; gap: 36px;
    background: #fff; border: 1px solid var(--rv-line); border-radius: 24px;
    padding: 34px 40px; box-shadow: 0 18px 46px rgba(0, 41, 58, 0.08);
    position: relative; overflow: hidden;
}
.rv-feature::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, var(--rv-bright), var(--rv-teal));
}
.rv-feature-aside { flex: 0 0 200px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rv-feature-avatar {
    width: 104px; height: 104px; border-radius: 999px; overflow: hidden;
    border: 1px solid var(--rv-line); background: var(--rv-soft);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,41,58,.10);
}
.rv-feature-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-feature-avatar.is-logo img { object-fit: contain; padding: 12px; }

/* larger photo avatar (like the home feature card) with a company-logo bubble */
.rv-feature-photo-lg { position: relative; width: 168px; height: 168px; margin-bottom: 18px; }
.rv-feature-photo-lg > img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    border-radius: 22px; display: block; border: 1px solid var(--rv-line);
    box-shadow: 0 14px 32px rgba(0, 41, 58, 0.16);
}
.rv-feature-photo-lg .rv-feature-badge {
    position: absolute; right: -8px; bottom: -14px; width: 62px; height: 62px;
    border-radius: 999px; background: #fff; border: 3px solid #fff; overflow: hidden;
    box-shadow: 0 12px 26px rgba(0, 41, 58, 0.22), 0 0 0 1px rgba(0, 41, 58, 0.05);
    display: flex; align-items: center; justify-content: center;
}
.rv-feature-photo-lg .rv-feature-badge img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 7px 6px; }
.rv-feature-name { font-family: Lexend, sans-serif; font-weight: 800; font-size: 17px; color: var(--rv-dark); margin-top: 14px; line-height: 1.25; }
.rv-feature-role { font-family: Manrope, sans-serif; font-weight: 600; font-size: 12px; color: var(--rv-grey); margin-top: 4px; line-height: 1.4; }
.rv-feature-aside .rv-stars { margin-top: 10px; }
.rv-feature-aside .rv-gbadge { margin-top: 10px; }
.rv-feature-body { flex: 1 1 auto; }
.rv-feature-quote {
    position: relative; font-family: Manrope, sans-serif;
    font-size: 17px; line-height: 1.72; font-weight: 600; color: var(--rv-ink); margin: 0;
}
.rv-feature-quote::before {
    content: "\201C"; display: block; font-family: Georgia, 'Times New Roman', serif;
    font-size: 50px; line-height: 0.4; color: var(--rv-bright); margin-bottom: 10px;
}

/* trio of shorter reviews */
.rv-trio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.rv-card {
    background: #fff; border: 1px solid var(--rv-line); border-radius: 20px;
    padding: 26px 28px 24px; box-shadow: 0 12px 32px rgba(0, 41, 58, 0.06);
    display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rv-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0, 41, 58, 0.10); }
.rv-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.rv-avatar {
    width: 50px; height: 50px; flex: 0 0 auto; border-radius: 999px; overflow: hidden;
    background: var(--rv-soft); border: 1px solid var(--rv-line);
    display: flex; align-items: center; justify-content: center;
}
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-avatar.is-logo img { object-fit: contain; padding: 7px; }
.rv-card-id { flex: 1 1 auto; min-width: 0; }
.rv-name { font-family: Lexend, sans-serif; font-weight: 800; font-size: 15px; color: var(--rv-dark); line-height: 1.25; letter-spacing: -0.1px; }
.rv-role { font-family: Manrope, sans-serif; font-weight: 600; font-size: 12px; color: var(--rv-grey); line-height: 1.4; margin-top: 3px; }
.rv-gicon { width: 21px; height: 21px; flex: 0 0 auto; align-self: flex-start; }
.rv-card .rv-stars { margin-bottom: 13px; }
.rv-quote { font-family: Manrope, sans-serif; color: var(--rv-ink); font-size: 14.5px; line-height: 1.72; font-weight: 600; margin: 0; }

/* ===================================================== SINGLE VIDEO ==== */
.rv-video-single { max-width: 360px; margin: 0 auto; }
.rv-video {
    position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--rv-line); box-shadow: 0 24px 56px rgba(0, 41, 58, 0.16);
    background: #00293a;
}
.rv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv-video-facade { position: absolute; inset: 0; cursor: pointer; display: block; }
.rv-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-video-facade::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,41,58,.10), rgba(0,41,58,.42));
}
.rv-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 78px; height: 78px; border-radius: 999px; background: rgba(255, 255, 255, 0.96);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); transition: transform 0.18s ease; z-index: 1;
}
.rv-video-facade:hover .rv-play { transform: translate(-50%, -50%) scale(1.08); }
.rv-play svg { width: 28px; height: 28px; margin-left: 4px; }

/* ============================================================ FINAL CTA */
.rv-cta { padding: 20px 0 88px; }
.rv-cta-panel {
    position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto;
    border-radius: 28px; padding: 58px 40px; text-align: center;
    background: linear-gradient(135deg, #0a4f4a 0%, #00382f 55%, #00293a 100%);
    box-shadow: 0 30px 72px rgba(0, 41, 58, 0.30);
}
.rv-cta-panel::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(620px 320px at 50% -25%, rgba(14, 175, 160, 0.42), transparent 70%);
    pointer-events: none;
}
.rv-cta-panel > * { position: relative; z-index: 1; }
.rv-cta-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.rv-cta-g {
    width: 58px; height: 58px; border-radius: 999px; background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25); flex: 0 0 auto;
}
.rv-cta-g svg { width: 31px; height: 31px; }
.rv-cta-head .rv-stars { margin: 0; }
.rv-cta-head .rv-stars img { width: 22px; height: 22px; }
.rv-cta-panel h2 { color: #fff; font-size: 31px; font-weight: 800; margin-bottom: 12px; }
.rv-cta-panel p { color: #c9e7e2; font-size: 16px; line-height: 1.6; max-width: 520px; margin: 0 auto 28px; font-weight: 500; }

/* ===================================================== STAT TILES (shared) */
/* Gradient numbers + text tokens used by the impact band and review cards. */
.rv-stat-num,
.rv-stat-token {
    font-family: Lexend, sans-serif; font-weight: 800; letter-spacing: -0.6px;
    background: linear-gradient(118deg, var(--rv-teal) 0%, var(--rv-bright) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.rv-stat-num { font-size: 32px; line-height: 1; display: inline-block; font-variant-numeric: tabular-nums; }
.rv-stat-token { font-size: 21px; line-height: 1.12; }
.rv-stat-label { font-family: Manrope, sans-serif; font-size: 12.5px; line-height: 1.42; font-weight: 600; color: var(--rv-grey); }

.rv-stat { display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(14px); }
.rv-stat.is-vis { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .rv-stat { opacity: 1; transform: none; } }

/* circular progress ring (percentage stats) */
.rv-ring { position: relative; width: 66px; height: 66px; }
.rv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.rv-ring-track { fill: none; stroke: var(--rv-line); stroke-width: 7; }
.rv-ring-fill {
    fill: none; stroke: url(#rvGrad); stroke-width: 7; stroke-linecap: round;
    stroke-dasharray: 188.5; stroke-dashoffset: 188.5;
}
.rv-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.rv-ring-num .rv-stat-num { font-size: 17px; letter-spacing: -0.3px; }

/* ============================== AGGREGATE "BY THE NUMBERS" BAND ========= */
/* standalone elevated panel, shown below the video testimonial */
.rv-impact-wrap { position: relative; z-index: 1; padding: 8px 0 76px; }
.rv-impact {
    background: #fff; border: 1px solid var(--rv-line); border-radius: 26px;
    padding: 34px 30px 30px; box-shadow: 0 34px 80px rgba(0, 41, 58, 0.16);
}
.rv-impact .rv-stat-top { min-height: 74px; justify-content: center; }
/* no tick marks in the aggregate band (kept only on the testimonial cards) */
.rv-impact .rv-stat-tick { display: none; }
/* inline gold star (matches the Google-rating star.png) inside the 5.0 stat */
.rv-star-inline { width: 0.74em; height: 0.74em; margin-left: 4px; vertical-align: -0.04em; display: inline-block; }
.rv-impact-head { text-align: center; margin-bottom: 26px; }
.rv-impact-head .rv-eyebrow { margin-bottom: 8px; }
.rv-impact-head h2 { font-size: 24px; font-weight: 800; }
.rv-impact-tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.rv-impact .rv-stat {
    align-items: center; text-align: center; gap: 12px;
    padding: 6px 18px; border-right: 1px solid var(--rv-line);
}
.rv-impact .rv-stat:last-child { border-right: 0; }
.rv-impact .rv-stat-num { font-size: 44px; }
.rv-impact .rv-stat-token { font-size: 38px; }
.rv-impact .rv-ring { width: 74px; height: 74px; }
.rv-impact .rv-ring-num .rv-stat-num { font-size: 19px; }
.rv-impact .rv-stat-label { font-size: 13px; max-width: 200px; }

/* ============================ REVIEW "RESULTS" (stats + tags in a card) === */
.rv-results { margin-top: 22px; }
.rv-results-eyebrow {
    font-family: Lexend, sans-serif; font-weight: 800; font-size: 10.5px;
    letter-spacing: 1.6px; text-transform: uppercase; color: var(--rv-teal);
    margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.rv-results-eyebrow::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--rv-line); }

/* every tile's value sits in a fixed-height "value zone" so numbers, rings and
   text tokens share one baseline and all the labels below line up in a row */
.rv-stat > :first-child { display: flex; align-items: center; }
.rv-stat .rv-stat-numwrap,
.rv-stat .rv-stat-token { line-height: 1.05; }

/* tick mark on every stat value (and on the section heading) for emphasis */
.rv-stat-top { display: flex; align-items: center; gap: 10px; }
.rv-stat-tick {
    flex: 0 0 auto; width: 20px; height: 20px; border-radius: 999px; position: relative;
    background: linear-gradient(125deg, var(--rv-teal), var(--rv-bright));
    box-shadow: 0 4px 10px rgba(0, 146, 130, 0.30);
}
.rv-stat-tick::after {
    content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.rv-eyebrow-tick {
    flex: 0 0 auto; width: 16px; height: 16px; border-radius: 999px; position: relative;
    background: linear-gradient(125deg, var(--rv-teal), var(--rv-bright));
}
.rv-eyebrow-tick::after {
    content: ""; position: absolute; left: 5.5px; top: 2.5px; width: 3.5px; height: 6.5px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* featured cards: divider, then 3 evenly-sized tiles in one tidy row */
.rv-feature-body .rv-results { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--rv-line); }
.rv-feature-body .rv-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.rv-feature-body .rv-stat { align-items: flex-start; gap: 11px; }
.rv-feature-body .rv-stat > :first-child { min-height: 66px; }

/* trio cards: divider, then 2 evenly-sized tiles directly under the quote
   (no stranded gap, no rings — rings stay in the roomier featured cards) */
.rv-card { position: relative; }
.rv-card .rv-results { padding-top: 20px; }
.rv-card .rv-quote { margin-bottom: 18px; }
.rv-card .rv-stat-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-items: start; }
.rv-card .rv-stat { gap: 8px; }
.rv-card .rv-stat > :first-child { min-height: 36px; align-items: flex-end; }
.rv-card .rv-stat-num { font-size: 26px; }
.rv-card .rv-stat-token { font-size: 18px; }
.rv-card .rv-stat-label { font-size: 12px; }

/* industry / service tag chips */
.rv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rv-tag {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 13px 6px 11px; border-radius: 999px;
    background: rgba(0, 146, 130, 0.07); border: 1px solid rgba(0, 146, 130, 0.18);
    font-family: Lexend, sans-serif; font-weight: 700; font-size: 12px; color: var(--rv-teal);
}
.rv-tag-dot { width: 6px; height: 6px; border-radius: 999px; background: linear-gradient(120deg, var(--rv-teal), var(--rv-bright)); }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
    .rv-hero h1 { font-size: 33px; }
    .rv-section { padding: 56px 0; }
    .rv-shead h2 { font-size: 27px; }
    .rv-trio { grid-template-columns: 1fr; max-width: 520px; }
    .rv-impact-tiles { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
    .rv-impact .rv-stat:nth-child(2) { border-right: 0; }
    .rv-impact .rv-stat:nth-child(1), .rv-impact .rv-stat:nth-child(2) { padding-bottom: 26px; border-bottom: 1px solid var(--rv-line); }
}
@media (max-width: 680px) {
    .rv-hero { padding: 48px 0 40px; }
    .rv-hero h1 { font-size: 27px; }
    .rv-rating { flex-wrap: wrap; justify-content: center; }
    .rv-feature { flex-direction: column; gap: 22px; padding: 28px 24px; text-align: center; }
    .rv-feature-aside { flex-basis: auto; }
    .rv-feature-quote::before { margin-left: auto; margin-right: auto; }
    .rv-cta-panel { padding: 42px 22px; }
    .rv-cta-panel h2 { font-size: 24px; }

    /* center-align the results block when the feature card stacks */
    .rv-impact { padding: 26px 18px 22px; }
    .rv-impact-head h2 { font-size: 21px; }
    .rv-impact .rv-stat-num { font-size: 38px; }
    .rv-impact .rv-stat-token { font-size: 32px; }
    .rv-feature-body .rv-results { text-align: left; }
    .rv-feature-body .rv-stat-strip { justify-content: center; gap: 18px 28px; }
    .rv-results-eyebrow { justify-content: flex-start; }
    .rv-tags { justify-content: center; }
}
