/* v23 · the reviews page, in the style of the rest of the site */
:root { --rv-ink: #0F1923; --rv-red: #E31837; --rv-star: #F5A524; --rv-display: 'Unbounded', system-ui, sans-serif; }
body { background: #F6F4EF; }

/* header: the same links as everywhere */
.header { padding: 12px 0; }
.logo { flex: none; white-space: nowrap; }
.rv23-nav { display: flex; align-items: center; gap: 18px; }
.rv23-nav__link { font-size: 14px; font-weight: 600; color: #374151; text-decoration: none; }
.rv23-nav__link:hover { color: var(--rv-red); }
.rv23-nav__link--form { color: var(--rv-red); }
.rv23-nav__cta { padding: 10px 18px; border-radius: 12px; background: var(--rv-red); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(227, 24, 55, .8); }
@media (max-width: 720px) {
    .rv23-nav { gap: 10px; }
    .rv23-nav__link:not(.rv23-nav__link--form) { display: none; }
    .rv23-nav__link--form { font-size: 13px; }
    .rv23-nav__cta { display: none; }
}

/* hero: the words and the score on the left, real reviews floating on the right */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; text-align: left; background: radial-gradient(120% 120% at 85% 10%, #1D3550 0%, #0F1923 60%); }
.rv-herogrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; }
.hero__title { font-family: var(--rv-display); font-weight: 700; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.04em; line-height: 1.08; }
.hero__sub { margin: 0 0 24px; max-width: 520px; }
.hero__stats { justify-content: flex-start; gap: 28px; }
.hero__stats { display: none; }
.hero__stats::before { content: ''; }
.rv-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; max-width: 520px; margin-bottom: 22px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.rv-score__big { display: grid; justify-items: center; gap: 6px; }
.rv-score__big b { font-family: var(--rv-display); font-size: 56px; line-height: 1; letter-spacing: -.04em; color: #fff; }
.rv-score__big > span:last-child { font-size: 12.5px; color: rgba(255, 255, 255, .6); text-align: center; }
.rv-score__bars { display: grid; gap: 6px; }
.rv-score__bars div { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.rv-score__bars i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rv-score__bars em { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--rv-star); animation: rvBar 1s cubic-bezier(.2, .8, .2, 1) .3s backwards; }
.rv-score__bars p { margin: 4px 0 0; font-size: 12px; color: rgba(255, 255, 255, .5); }
@keyframes rvBar { from { width: 0; } }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 16px; height: 16px; fill: rgba(156, 163, 175, .35); }
.rv-stars svg.on { fill: var(--rv-star); }
.rv-score__big .rv-stars svg { width: 20px; height: 20px; }
.rv-float { display: grid; gap: 14px; }
.rv-bubble { position: relative; width: min(340px, 88%); padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--rv-ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); animation: rvFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s); }
.rv-bubble:nth-child(1) { justify-self: start; rotate: -2deg; }
.rv-bubble:nth-child(2) { justify-self: end; rotate: 1.5deg; border-radius: 18px 18px 4px 18px; }
.rv-bubble:nth-child(3) { justify-self: center; rotate: -1deg; }
.rv-bubble p { margin: 8px 0 6px; font-size: 14px; line-height: 1.45; }
.rv-bubble small { font-size: 12px; font-weight: 700; color: #6B7280; }
@keyframes rvFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* filters */
.reviews { padding: 36px 0 64px; }
.rv-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.rv-filter button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid #E5E7EB; border-radius: 999px; background: #fff; font: 600 14px Inter, sans-serif; color: #1F2937; cursor: pointer; transition: border-color .2s, background .2s, color .2s, translate .2s; }
.rv-filter button:hover { translate: 0 -2px; border-color: var(--rv-red); }
.rv-filter button b { padding: 1px 7px; border-radius: 999px; background: #F3F4F6; font-size: 12px; color: #6B7280; }
.rv-filter button.is-on { background: var(--rv-ink); border-color: var(--rv-ink); color: #fff; }
.rv-filter button.is-on b { background: var(--rv-red); color: #fff; }

/* cards in neat columns */
.reviews__grid { display: block; columns: 3 300px; column-gap: 16px; }
.rv-card { position: relative; break-inside: avoid; margin: 0 0 16px; padding: 18px 18px 16px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(15, 25, 35, .04), 0 18px 36px -30px rgba(15, 25, 35, .5); animation: rvIn .45s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 25ms); }
@keyframes rvIn { from { opacity: 0; translate: 0 12px; } }
.rv-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding-right: 30px; }
.rv-ava { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: hsl(var(--h) 75% 94%); color: hsl(var(--h) 60% 38%); font-family: var(--rv-display); font-size: 17px; font-weight: 700; }
.rv-card header b { display: block; font-size: 15.5px; color: var(--rv-ink); }
.rv-card header small { font-size: 13px; color: #6B7280; }
.rv-q { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; fill: #FDE2E6; }
.rv-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #374151; }
.rv-card.is-long:not(.is-open) p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-open { margin-top: 8px; padding: 0; border: 0; background: none; font: 700 14px Inter, sans-serif; color: var(--rv-red); cursor: pointer; }
.rv-more { display: grid; justify-items: center; gap: 10px; margin: 8px 0 40px; }
.rv-more p { margin: 0; font-size: 14px; color: #6B7280; }
.rv-more__btn { padding: 14px 26px; border: 0; border-radius: 14px; background: var(--rv-ink); color: #fff; font: 700 15px Inter, sans-serif; cursor: pointer; transition: background .2s, translate .2s; }
.rv-more__btn:hover { background: var(--rv-red); translate: 0 -2px; }

/* the review form */
.form-section { max-width: 720px; margin: 0 auto; padding: 32px; border-radius: 24px; box-shadow: 0 30px 60px -40px rgba(15, 25, 35, .5); }
.form-section__title { font-family: var(--rv-display); font-weight: 700; letter-spacing: -.03em; }
.form__star { filter: none !important; font-size: 0; }
.form__star svg { width: 32px; height: 32px; fill: #E5E7EB; transition: fill .15s; }
.form__star.active svg { fill: var(--rv-star); }
.form__btn { border-radius: 14px; }

@media (max-width: 900px) {
    .rv-filter { gap: 6px; }
    .rv-filter button { padding: 7px 11px; font-size: 13px; }
    .hero { padding: 40px 0 36px; }
    .rv-herogrid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .rv-float { display: none; }
    .rv-score { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
    .reviews__grid { columns: 1; }
    .form-section { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) { .rv-bubble, .rv-card, .rv-score__bars em { animation: none; } }
