/* ==========================================================================
   Client reviews page (/reviews/)
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- Stars: one row of outline stars with a filled row clipped to --pct ---- */
.rv-stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: .12em; color: #E2E2EE; }
.rv-stars::before { content: '\2605\2605\2605\2605\2605'; }
.rv-stars-fill { position: absolute; inset: 0 auto 0 0; width: var(--pct); overflow: hidden; white-space: nowrap; color: #FFB400; transition: width 1.2s var(--ease-premium); }
.rv-stars-fill::before { content: '\2605\2605\2605\2605\2605'; }
.js-rv .rv-stars:not(.is-in) .rv-stars-fill { width: 0; }
.rv-stars-lg { font-size: 1.65rem; }

/* ---- Hero ---- */
.rv-hero .hw-hero-wrap { align-items: center; }
.rv-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 2rem 0 0; padding: 0; font-size: .9rem; font-weight: 600; color: var(--gray-600); }
.rv-trust i { margin-right: .4rem; color: #7B3CF5; }

.rv-score { position: relative; padding: 2rem; border-radius: 28px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); border: 1px solid rgba(123, 60, 245, .14); box-shadow: 0 40px 80px -40px rgba(76, 29, 149, .45), 0 0 0 8px rgba(255, 255, 255, .5); overflow: hidden; isolation: isolate; }
.rv-score::before { content: ''; position: absolute; inset: 0; z-index: -1; padding: 1.5px; border-radius: inherit; background: linear-gradient(135deg, rgba(123, 60, 245, .6), rgba(233, 53, 143, .35), rgba(255, 138, 46, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.rv-score-glow { position: absolute; z-index: -1; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 0, .35), transparent 70%); animation: rvGlow 6s ease-in-out infinite alternate; }
@keyframes rvGlow { to { transform: translate(-40px, 40px) scale(1.15); } }
.rv-score-top { display: flex; align-items: center; gap: 1.4rem; }
.rv-score-num { display: flex; align-items: baseline; gap: .25rem; }
.rv-score-num strong { font-family: var(--font-heading); font-size: 4.6rem; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, #2D1B7E, #7B3CF5 55%, #E9358F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-score-num small { font-size: 1.1rem; font-weight: 700; color: var(--gray-400); }
.rv-score-top p { margin: .45rem 0 0; font-size: .92rem; color: var(--gray-600); }
.rv-bars { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.rv-bars li { display: grid; grid-template-columns: 2.6rem 1fr 2rem; align-items: center; gap: .75rem; font-size: .85rem; font-weight: 700; color: var(--gray-700); }
.rv-bars li i { font-size: .72rem; color: #FFB400; }
.rv-bar { position: relative; height: 9px; border-radius: 99px; background: #EEEAF8; overflow: hidden; }
.rv-bar > span { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #FFB400, #FF8A2E 55%, #E9358F); transition: width 1.1s var(--ease-premium); }
.js-rv .rv-score:not(.is-in) .rv-bar > span { width: 0; }
.rv-bars li:nth-child(2) .rv-bar > span { transition-delay: .08s; }
.rv-bars li:nth-child(3) .rv-bar > span { transition-delay: .16s; }
.rv-bars li:nth-child(4) .rv-bar > span { transition-delay: .24s; }
.rv-bars li:nth-child(5) .rv-bar > span { transition-delay: .32s; }
.rv-bar-n { text-align: right; color: var(--gray-500); }
.rv-score-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(15, 23, 42, .07); }
.rv-score-foot > span { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.rv-score-foot small { display: block; font-family: var(--font-sans); font-size: .78rem; font-weight: 600; color: var(--gray-500); }
.rv-gpill { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border-radius: 999px; font-size: .85rem; color: var(--gray-700); background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-premium), box-shadow .25s; }
.rv-gpill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); }
.rv-score-empty { text-align: center; padding: 1rem .5rem; }
.rv-score-empty h2 { margin: 1rem 0 .4rem; font-size: 1.5rem; }
.rv-score-empty p { margin: 0 0 1.3rem; color: var(--gray-600); }


/* ---- Toolbar ---- */
.rv-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.rv-filters { display: flex; gap: .5rem; overflow-x: auto; padding: .3rem; margin: -.3rem; scrollbar-width: none; }
.rv-filters::-webkit-scrollbar { display: none; }
.rv-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--gray-200); background: #fff; font-size: .86rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.rv-chip i { font-size: .78rem; color: #FFB400; }
.rv-chip span { padding: .05rem .45rem; border-radius: 99px; font-size: .72rem; background: var(--gray-100); color: var(--gray-500); }
.rv-chip:hover { border-color: rgba(123, 60, 245, .35); color: var(--ink); transform: translateY(-1px); }
.rv-chip.is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #2D1B7E, #7B3CF5); box-shadow: 0 10px 22px -12px rgba(123, 60, 245, .8); }
.rv-chip.is-on i, .rv-chip.is-on span { color: #fff; background: rgba(255, 255, 255, .18); }
.rv-chip.is-on i { background: none; }
.rv-sort select { height: 42px; padding: 0 2.3rem 0 1rem; border-radius: 12px; border: 1px solid var(--gray-200); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right .9rem center; font-size: .88rem; font-weight: 600; color: var(--gray-700); appearance: none; cursor: pointer; }

/* ---- Wall of reviews ----
   A grid, not CSS columns: columns rebalance whenever a card animates in,
   gets a hover shadow or its photo loads, so cards jumped between columns
   and seemed to vanish (worst in Safari). */
.rv-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; align-items: start; }
.rv-wall > .rv-card { margin: 0; }
.rv-card { --mx: 50%; --my: 0%; position: relative; break-inside: avoid; margin: 0 0 1.4rem; padding: 1.5rem 1.5rem 1.3rem; border-radius: 22px; background: #fff; border: 1px solid rgba(15, 23, 42, .07); box-shadow: 0 18px 40px -32px rgba(30, 20, 80, .45); overflow: hidden; isolation: isolate;
    transition: opacity .7s var(--ease-premium), transform .7s var(--ease-premium), box-shadow .35s, border-color .35s; }
.js-rv .rv-card:not(.is-in) { opacity: 0; transform: translateY(24px); }
.rv-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(123, 60, 245, .08), transparent 60%); opacity: 0; transition: opacity .35s; }
.rv-card:hover { border-color: rgba(123, 60, 245, .22); box-shadow: 0 28px 55px -30px rgba(76, 29, 149, .45); }
.rv-card:hover::before { opacity: 1; }
.rv-card[hidden] { display: none; }
.rv-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.rv-source { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #15803D; background: #ECFDF3; }
.rv-source-google { color: #1F2937; background: #F3F4F6; }
.rv-source-google i { color: #4285F4; }
a.rv-source-google:hover { background: #E5E7EB; }
.rv-card-title { margin: 0 0 .5rem; font-size: 1.08rem; line-height: 1.35; color: var(--ink); }
.rv-card-text { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--gray-700); }
.rv-card-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-more { margin-top: .45rem; padding: 0; border: 0; background: none; font-size: .85rem; font-weight: 700; color: #7B3CF5; cursor: pointer; }
.rv-more i { font-size: .7rem; transition: transform .25s; }
.rv-more.is-open i { transform: rotate(180deg); }
.rv-reply { margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; background: #F7F5FF; border-left: 3px solid #7B3CF5; }
.rv-reply strong { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: #2D1B7E; }
.rv-reply p { margin: .35rem 0 0; font-size: .88rem; line-height: 1.6; color: var(--gray-600); }
.rv-card-foot { display: flex; align-items: center; gap: .75rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(15, 23, 42, .06); }
.rv-avatar, .rv-avatar-img { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; color: #fff; object-fit: cover; }
.rv-tone-0 { background: linear-gradient(135deg, #2D5BFF, #4CC6FF); }
.rv-tone-1 { background: linear-gradient(135deg, #7B3CF5, #E9358F); }
.rv-tone-2 { background: linear-gradient(135deg, #E9358F, #FF8A2E); }
.rv-tone-3 { background: linear-gradient(135deg, #0E9F6E, #4ADE80); }
.rv-tone-4 { background: linear-gradient(135deg, #2D1B7E, #7B3CF5); }
.rv-who { flex: 1; min-width: 0; line-height: 1.25; }
.rv-who strong { display: block; font-size: .92rem; color: var(--ink); }
.rv-who small { display: block; font-size: .78rem; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-when { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .74rem; color: var(--gray-400); text-align: right; }
.rv-tag { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 700; color: #C2410C; background: #FFF4EC; border: 1px solid #FFE1CC; white-space: nowrap; }
.rv-none { padding: 2rem 0; text-align: center; color: var(--gray-500); }
.rv-more-wrap { display: flex; justify-content: center; margin-top: .6rem; }
.rv-empty { max-width: 680px; margin: 0 auto 2.5rem; padding: 2.6rem 2rem; text-align: center; border-radius: 24px; background: #fff; border: 1px dashed #D9D1F5; box-shadow: 0 24px 50px -40px rgba(43, 28, 120, .5); }
.rv-empty .rv-stars { display: block; margin: 0 auto; }
.rv-empty h3 { margin: 1rem 0 .6rem; font-size: 1.35rem; color: var(--gray-900); }
.rv-empty p { margin: 0 auto 1.4rem; max-width: 540px; font-size: 1rem; line-height: 1.65; color: var(--gray-600); }
.rv-wall-head:not(.has-invite) .hw-head { text-align: center; }

/* ---- CTA ---- */
.rv-cta-sec { padding-top: 2rem; }
.rv-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 28px; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(233, 53, 143, .4), transparent 70%), linear-gradient(135deg, #160F3B, #2D1B7E); }
.rv-cta h2 { margin: 0 0 .35rem; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.rv-cta p { margin: 0; color: rgba(236, 233, 255, .8); }

/* ---- "Write a review" (all open the Google review box) ---- */
@property --rv-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.rv-write-btn { position: relative; isolation: isolate; border-color: transparent; }
.rv-write-btn::before { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--rv-angle), #4285F4, #34A853, #FBBC05, #EA4335, #4285F4); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rvSpin 4s linear infinite; }
@keyframes rvSpin { to { --rv-angle: 360deg; } }
.rv-trust a { color: inherit; text-decoration: none; }
.rv-trust a:hover { color: #7B3CF5; }

/* ---- Moving strip of short quotes ---- */
.rv-marquee { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 2.4rem 0 .6rem; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-mq-row { display: flex; width: max-content; }
.rv-mq-track { display: flex; gap: .9rem; margin: 0; padding: 0 .45rem; list-style: none; animation: rvMarquee var(--rv-mq-dur, 60s) linear infinite; }
.rv-mq-rev .rv-mq-track { animation-direction: reverse; }
.rv-mq-row:hover .rv-mq-track { animation-play-state: paused; }
@keyframes rvMarquee { to { transform: translateX(-100%); } }
.rv-mq-item { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; max-width: 460px; padding: .7rem 1.1rem .7rem .7rem; border-radius: 999px; background: #fff; border: 1px solid rgba(123, 60, 245, .12); box-shadow: 0 12px 26px -20px rgba(76, 29, 149, .5); transition: transform .3s var(--ease-premium), border-color .3s; }
.rv-mq-track > li { display: flex; }
a.rv-mq-item { color: inherit; text-decoration: none; cursor: pointer; }
.rv-mq-item:hover { transform: translateY(-3px); border-color: rgba(123, 60, 245, .4); }
.rv-mq-item:focus-visible { outline: 2px solid #7B3CF5; outline-offset: 3px; }
.rv-card { scroll-margin-top: calc(var(--nav-height, 80px) + 40px); }
.rv-card.is-flash { animation: rvFlash 2.2s var(--ease-premium); }
@keyframes rvFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(123, 60, 245, 0); } 15%, 55% { box-shadow: 0 0 0 4px rgba(123, 60, 245, .45), 0 30px 60px -30px rgba(123, 60, 245, .6); } }
.rv-mq-item img, .rv-mq-item .rv-avatar { width: 34px; height: 34px; font-size: .72rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rv-mq-text { font-size: .88rem; line-height: 1.4; color: var(--gray-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-mq-text strong { margin-left: .25rem; font-weight: 700; color: var(--ink); }
.rv-mq-stars { margin-right: .3rem; letter-spacing: .05em; color: #FFB400; }

/* ---- Review wall header with the invite card ---- */
.rv-wall-head.has-invite { display: grid; grid-template-columns: 1fr minmax(0, 440px); align-items: end; gap: 1.5rem 2.5rem; margin-bottom: 2rem; }
.rv-wall-head.has-invite .hw-head { max-width: none; margin: 0; text-align: left; }
.rv-invite { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .4rem .9rem; padding: 1.1rem 1.2rem; border-radius: 20px; color: inherit; text-decoration: none; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(66, 133, 244, .55), rgba(251, 188, 5, .55), rgba(234, 67, 53, .45)) border-box; border: 1.5px solid transparent; box-shadow: 0 24px 40px -30px rgba(76, 29, 149, .55); transition: transform .3s var(--ease-premium), box-shadow .3s; overflow: hidden; }
.rv-invite::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-100%); pointer-events: none; }
.rv-invite:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -28px rgba(76, 29, 149, .6); color: inherit; }
.rv-invite:hover::after { transform: translateX(100%); transition: transform .9s var(--ease-premium); }
.rv-invite-g { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #F8F9FB; }
.rv-invite-g svg { width: 24px; height: 24px; }
.rv-invite-copy strong { display: block; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.rv-invite-copy small { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.45; color: var(--gray-500); }
.rv-invite-cta { grid-column: 2; display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 800; color: #2D5BFF; }
.rv-invite-cta i { font-size: .72rem; transition: transform .25s; }
.rv-invite:hover .rv-invite-cta i { transform: translate(2px, -2px); }

/* ---- Floating "Write a review" (left, so it never covers WhatsApp / back to top) ---- */
.rv-float { position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 440; display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1.1rem .6rem .6rem; border-radius: 999px; font-size: .9rem; font-weight: 800; color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .45); opacity: 0; pointer-events: none; transform: translateY(20px) scale(.96); transition: opacity .35s, transform .45s var(--ease-premium), box-shadow .25s; }
.rv-float.is-on { opacity: 1; pointer-events: auto; transform: none; }
.rv-float:hover { color: var(--ink); box-shadow: 0 24px 46px -18px rgba(76, 29, 149, .55); transform: translateY(-2px); }
.rv-float-g { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); }
.rv-float-stars { font-size: .75rem; letter-spacing: .05em; color: #FFB400; }

/* ---- Client stories: one big story at a time ---- */
.rv-show { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff, #FBFAFF 40%, #fff); }
.rv-show::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(45, 27, 126, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 27, 126, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); }
.rv-show-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rv-blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .28; animation: rvOrb 16s ease-in-out infinite alternate; }
.rv-blob-a { left: -180px; top: -120px; background: #7B3CF5; }
.rv-blob-b { right: -200px; bottom: -160px; background: #FF8A2E; animation-delay: -8s; }
@keyframes rvOrb { to { transform: translate(90px, 50px) scale(1.15); } }
.rv-show-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.rv-show-head h2 { margin: .9rem 0 .7rem; max-width: 760px; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); }
.rv-hl { position: relative; white-space: nowrap; background: linear-gradient(120deg, #7B3CF5, #E9358F 55%, #FF8A2E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; z-index: -1; height: .28em; border-radius: 4px; background: linear-gradient(90deg, rgba(123, 60, 245, .16), rgba(255, 138, 46, .2)); transform-origin: left; transform: scaleX(0); transition: transform 1s .3s var(--ease-premium); }
.rv-show-head .is-in .rv-hl::after, html:not(.js-hw) .rv-hl::after { transform: scaleX(1); }
.rv-show-head p { margin: 0; max-width: 560px; font-size: 1.05rem; line-height: 1.6; color: var(--gray-600); }
.rv-show-controls { display: flex; align-items: center; gap: .7rem; }
.rv-play { display: inline-flex; align-items: center; gap: .55rem; height: 54px; padding: 0 1.4rem; border-radius: 999px; border: 0; font-size: .95rem; font-weight: 800; color: #fff; background: var(--ink, #0F172A); box-shadow: 4px 4px 0 #7B3CF5; cursor: pointer; transition: transform .25s var(--ease-premium), box-shadow .25s; }
.rv-play:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #7B3CF5; }
.rv-play .rv-live-dot { margin-right: .1rem; }
.rv-play[aria-pressed="false"] .rv-live-dot { background: #F59E0B; }
.rv-play[aria-pressed="false"] .rv-live-dot::after { animation: none; }
.rv-play-n { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; opacity: .7; }
.rv-arrow { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ink, #0F172A); color: var(--ink, #0F172A); background: #fff; box-shadow: 4px 4px 0 var(--ink, #0F172A); cursor: pointer; transition: transform .25s var(--ease-premium), box-shadow .25s, background .25s, color .25s; }
.rv-arrow-dark { color: #fff; background: var(--ink, #0F172A); box-shadow: 4px 4px 0 #E9358F; }
.rv-arrow:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink, #0F172A); }
.rv-arrow-dark:hover { box-shadow: 6px 6px 0 #E9358F; }
.rv-arrow:active, .rv-play:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink, #0F172A); }
.rv-play:focus-visible, .rv-arrow:focus-visible, .rv-sc:focus-visible, .rv-sc-dots button:focus-visible { outline: 3px solid #7B3CF5; outline-offset: 4px; }

.rv-sc { position: relative; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.3rem, 4.5vw, 3.6rem) clamp(1.8rem, 4vw, 2.8rem); border-radius: 34px; background: #fff; border: 2px solid var(--ink, #0F172A); box-shadow: 12px 12px 0 var(--ink, #0F172A); overflow: hidden; touch-action: pan-y; transition: transform .4s var(--ease-premium), box-shadow .4s var(--ease-premium); }
.rv-sc:hover { transform: translate(-3px, -3px); box-shadow: 15px 15px 0 var(--ink, #0F172A); }
.rv-sc-mark { position: absolute; top: -.18em; right: .08em; font-family: Georgia, serif; font-size: clamp(9rem, 18vw, 15rem); line-height: 1; background: linear-gradient(135deg, rgba(123, 60, 245, .16), rgba(233, 53, 143, .1)); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; user-select: none; }
.rv-sc-slides { display: grid; }
.rv-sc-slide { grid-area: 1 / 1; display: flex; flex-direction: column; margin: 0; visibility: hidden; }
.rv-sc-slide.is-active, .rv-sc-slide.is-leaving { visibility: visible; }
.rv-sc-slide > * { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-premium), transform .65s var(--ease-premium); }
.rv-sc-slide.is-active > * { opacity: 1; transform: none; }
.rv-sc-slide.is-active > :nth-child(2) { transition-delay: .08s; }
.rv-sc-slide.is-active > :nth-child(3) { transition-delay: .5s; }
.rv-sc-slide.is-leaving > * { opacity: 0; transform: translateX(calc(var(--dir, 1) * -40px)); filter: blur(4px); transition: opacity .4s, transform .45s var(--ease-premium), filter .4s; }
.rv-sc-head { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.2rem; padding-bottom: clamp(1.1rem, 2.5vw, 1.6rem); border-bottom: 2px solid rgba(15, 23, 42, .07); }
.rv-sc-avatar { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 20px; font-size: 1.25rem; font-weight: 800; color: #fff; object-fit: cover; border: 2px solid var(--ink, #0F172A); box-shadow: 4px 4px 0 var(--ink, #0F172A); }
.rv-sc-who { flex: 1; min-width: 200px; }
.rv-sc-name { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .7rem; }
.rv-sc-name strong { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing: -.02em; color: var(--ink); }
.rv-sc-name em { padding: .25rem .7rem; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5B2EE8; background: #F3EEFF; border: 1.5px solid rgba(123, 60, 245, .3); }
.rv-sc-who small { display: block; margin-top: .3rem; font-size: .95rem; color: var(--gray-600); }
.rv-sc-rating { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.1rem; border-radius: 999px; font-size: .95rem; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--ink, #0F172A); box-shadow: 4px 4px 0 var(--ink, #0F172A); white-space: nowrap; }
.rv-sc-stars { letter-spacing: .08em; color: #FFB400; }
.rv-sc-stars-off { color: #E2E2EE; }
.rv-sc-quote { margin: clamp(1.4rem, 3vw, 2.2rem) 0; font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 2.05rem); font-weight: 700; line-height: 1.42; letter-spacing: -.02em; color: var(--ink); }
.rv-w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .5s var(--ease-premium), transform .6s var(--ease-premium), filter .5s; transition-delay: calc(var(--i) * 18ms + 120ms); }
.is-active .rv-w { opacity: 1; transform: none; filter: none; }
.rv-sc-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.5rem; padding-top: clamp(1rem, 2.5vw, 1.4rem); border-top: 2px solid rgba(15, 23, 42, .07); font-size: .98rem; color: var(--gray-600); }
.rv-sc-hl strong { margin-right: .35rem; color: var(--ink); }
.rv-sc-dot { display: inline-block; width: 12px; height: 12px; margin-right: .55rem; border-radius: 50%; vertical-align: -1px; }
.rv-sc-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; color: var(--gray-700); background: #F8F7FC; border: 1.5px solid rgba(15, 23, 42, .1); }
.rv-sc-chip svg { width: 15px; height: 15px; }
.rv-sc-chip i { color: #16A34A; }
.rv-sc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: rgba(15, 23, 42, .05); }
.rv-sc-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #7B3CF5, #E9358F, #FF8A2E); }
.rv-sc-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2.2rem; }
.rv-sc-dots button { position: relative; width: 16px; height: 16px; padding: 0; border-radius: 99px; border: 2px solid var(--ink, #0F172A); background: #fff; cursor: pointer; transition: width .45s var(--ease-premium), background .3s; }
.rv-sc-dots button::before { content: ''; position: absolute; inset: -8px; }
.rv-sc-dots button.is-active { width: 52px; background: var(--ink, #0F172A); box-shadow: 3px 3px 0 #E9358F; }

/* ---- Staff-only preview banner ---- */
.rv-preview-bar { position: sticky; top: 0; z-index: 1500; padding: .65rem 1rem; text-align: center; font-size: .9rem; color: #78350F; background: #FEF3C7; border-bottom: 1px solid #FCD34D; }
.rv-preview-bar a { margin-left: .5rem; font-weight: 700; color: #92400E; }

/* ---- Live indicator ---- */
.rv-live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; vertical-align: middle; }
.rv-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: rvPing 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes rvPing { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.rv-trust-live .rv-live-dot { margin-right: .45rem; }

/* ---- Empty state: floating placeholder cards + how it works ---- */
.rv-void { position: relative; display: grid; place-items: center; min-height: 480px; margin: 0 auto 2.5rem; padding: 2rem 0; isolation: isolate; }
.rv-void-ghosts { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rv-ghost { position: absolute; display: flex; flex-direction: column; gap: .6rem; width: 260px; padding: 1.2rem; border-radius: 20px; background: #fff; border: 1px solid rgba(123, 60, 245, .1); box-shadow: 0 30px 60px -36px rgba(76, 29, 149, .45); opacity: .75; animation: rvFloat 7s ease-in-out infinite; }
.rv-ghost-1 { left: 2%; top: 12%; transform: rotate(-7deg); }
.rv-ghost-2 { right: 3%; top: 4%; transform: rotate(6deg); animation-delay: -2.5s; }
.rv-ghost-3 { right: 10%; bottom: 2%; transform: rotate(-4deg); animation-delay: -5s; }
@keyframes rvFloat { 50% { translate: 0 -16px; } }
.rv-ghost-stars { font-size: .9rem; letter-spacing: .1em; color: #FFD27A; }
.rv-ghost-line, .rv-ghost-who span { display: block; height: 9px; border-radius: 99px; background: linear-gradient(90deg, #EEEAF8 25%, #F8F6FE 50%, #EEEAF8 75%); background-size: 200% 100%; animation: rvShimmer 2.2s linear infinite; }
.rv-ghost-short { width: 60%; }
.rv-ghost-who { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.rv-ghost-who span:first-child { width: 30px; height: 30px; border-radius: 50%; }
.rv-ghost-who span:last-child { width: 45%; }
@keyframes rvShimmer { to { background-position: -200% 0; } }
.rv-void-card { position: relative; max-width: 560px; padding: clamp(2rem, 4vw, 2.8rem); text-align: center; border-radius: 28px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(123, 60, 245, .14); box-shadow: 0 50px 90px -50px rgba(76, 29, 149, .55), 0 0 0 8px rgba(255, 255, 255, .45); }
.rv-void-stars { display: inline-flex; gap: .2rem; font-size: 1.9rem; }
.rv-void-stars i { font-style: normal; color: #E7E3F3; animation: rvStarOn 4.5s ease-in-out infinite; }
.rv-void-stars i:nth-child(2) { animation-delay: .15s; }
.rv-void-stars i:nth-child(3) { animation-delay: .3s; }
.rv-void-stars i:nth-child(4) { animation-delay: .45s; }
.rv-void-stars i:nth-child(5) { animation-delay: .6s; }
@keyframes rvStarOn { 10%, 70% { color: #FFB400; transform: scale(1.12); } 20%, 60% { transform: scale(1); } 85% { color: #E7E3F3; } }
.rv-void-card h3 { margin: 1rem 0 .6rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--ink); }
.rv-void-card p { margin: 0 auto; max-width: 440px; font-size: 1rem; line-height: 1.65; color: var(--gray-600); }
.rv-void-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.6rem 0 1.8rem; padding: 0; }
.rv-void-steps li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem .45rem .45rem; border-radius: 999px; font-size: .86rem; color: var(--gray-700); background: #F7F5FF; border: 1px solid rgba(123, 60, 245, .12); }
.rv-void-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7B3CF5, #E9358F); }
.rv-write-btn-solid { display: inline-flex; align-items: center; gap: .6rem; }
.rv-write-btn-solid svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; box-sizing: content-box; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .rv-score { padding: 1.5rem; }
    .rv-score-num strong { font-size: 3.6rem; }
    .rv-score-top { gap: 1rem; }
    .rv-stars-lg { font-size: 1.35rem; }
    .rv-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
    .rv-filters { min-width: 0; }
    .rv-sort { display: block; }
    .rv-sort select { width: 100%; box-sizing: border-box; }
    .rv-mq-item { max-width: 300px; }
    .rv-float { left: 1rem; bottom: 1rem; }
    .rv-float-stars { display: none; }
    .rv-show-controls { width: 100%; }
    .rv-play { flex: 1; justify-content: center; height: 48px; padding: 0 1rem; font-size: .88rem; }
    .rv-arrow { width: 48px; height: 48px; }
    .rv-sc { border-radius: 26px; box-shadow: 7px 7px 0 var(--ink, #0F172A); }
    .rv-sc:hover { transform: none; box-shadow: 7px 7px 0 var(--ink, #0F172A); }
    .rv-sc-avatar { width: 56px; height: 56px; border-radius: 16px; font-size: 1.05rem; }
    .rv-sc-rating { padding: .45rem .85rem; font-size: .85rem; }
    .rv-ghost { width: 200px; }
    .rv-ghost-2 { display: none; }
}
@media (max-width: 900px) {
    .rv-wall-head.has-invite { grid-template-columns: 1fr; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-card, .rv-stars-fill, .rv-bar > span { transition: none; }
    .rv-score-glow, .rv-write-btn::before { animation: none; }
    .rv-marquee { -webkit-mask: none; mask: none; }
    .rv-mq-row { width: auto; }
    .rv-mq-track { animation: none; flex-wrap: wrap; justify-content: center; }
    .rv-mq-item { max-width: 100%; }
    .rv-float, .rv-invite::after { transition: none; }
.rv-sc-slide > *, .rv-w, .rv-sc { transition: opacity .2s !important; transform: none !important; filter: none !important; }
    .rv-blob, .rv-ghost, .rv-ghost-line, .rv-ghost-who span, .rv-void-stars i, .rv-live-dot::after { animation: none; }
    .rv-void-stars i { color: #FFB400; }
}

/* Show more: really hidden when there is nothing more (the button style overrode [hidden]) */
[data-rv-showmore][hidden] { display: none !important; }

/* Sort dropdown in the site style */
.rv-sort { position: relative; flex: none; }
.rv-sort-btn { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid #E9E2FF; background: #fff;
    font: inherit; font-size: .88rem; color: #475569; cursor: pointer; box-shadow: 0 8px 20px -16px rgba(76, 29, 149, .6); transition: border-color .2s, box-shadow .2s; }
.rv-sort-btn > i:first-child { color: #7B3CF5; }
.rv-sort-btn strong { color: #1E1B4B; font-weight: 700; }
.rv-sort-btn:hover, .rv-sort.is-open .rv-sort-btn { border-color: #C4B5FD; box-shadow: 0 0 0 4px rgba(123, 60, 245, .1); }
.rv-sort-chev { font-size: .7rem; color: #94A3B8; transition: transform .25s; }
.rv-sort.is-open .rv-sort-chev { transform: rotate(180deg); }
.rv-sort-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; margin: 0; padding: .4rem; list-style: none; border-radius: 16px;
    background: #fff; border: 1px solid #ECE9F8; box-shadow: 0 24px 50px -20px rgba(43, 28, 120, .45);
    opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right; transition: opacity .18s, transform .25s cubic-bezier(.2, 1.2, .3, 1); }
.rv-sort.is-open .rv-sort-menu { opacity: 1; transform: none; }
.rv-sort-menu li { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 11px; font-size: .9rem; font-weight: 600; color: #334155; cursor: pointer; }
.rv-sort-menu li i { width: 18px; text-align: center; color: #A78BFA; font-size: .82rem; }
.rv-sort-menu li:hover { background: #F7F5FF; }
.rv-sort-menu li[aria-selected="true"] { background: linear-gradient(135deg, #F3EEFF, #FDF2F8); color: #4C1D95; }
.rv-sort-menu li[aria-selected="true"]::after { content: '\2713'; margin-left: auto; color: #7B3CF5; font-weight: 800; }
@media (max-width: 760px) {
    .rv-toolbar { gap: .9rem; margin-bottom: 1.4rem; }
    .rv-sort { align-self: flex-start; }
    .rv-sort-btn { width: auto; }
    .rv-sort-menu { left: 0; right: auto; transform-origin: top left; }
}
.rv-sort select[hidden] { display: none !important; }
/* Phones: a clear gap between the filter chips and the sort button, and between sort and the reviews */
@media (max-width: 760px) {
    .rv-toolbar { gap: 0 !important; margin-bottom: 1.6rem; }
    .rv-toolbar .rv-sort { margin-top: 1.1rem; display: flex; justify-content: flex-start; }
    .rv-filters { padding-bottom: .4rem; }
}
