/* v4-reviews.css: reviews section. Prefix rv-. Without JS (no .rv-js) everything shows in its end state. */
.rv { --rv-ease: cubic-bezier(.22,.61,.36,1); position: relative; max-width: 1320px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 36px; }
.rv * { box-sizing: border-box; }
.rv-art { position: relative; flex: 0 0 270px; width: 270px; padding-top: 34px; }
.rv-mascot { display: block; width: 100%; height: auto; max-width: none; user-select: none; animation: rv-bob 4.8s var(--rv-ease) infinite alternate; }
.rv-sp { position: absolute; right: 6px; top: 0; display: block; }
.rv-stage { position: relative; flex: 1 1 0; min-width: 0; padding: 0 22px 64px; }
.rv-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 14px 0 34px; margin: -14px 0 -34px; align-items: stretch; outline-offset: 6px; }
.rv-card { margin: 0; display: flex; min-width: 0; }
.rv-ci { position: relative; display: flex; flex-direction: column; width: 100%; padding: 26px 24px 22px; background: rgba(255,255,255,.92); border: 1px solid rgba(124,92,230,.10); border-radius: 24px; box-shadow: 0 14px 34px rgba(90,80,170,.13), 0 2px 6px rgba(90,80,170,.06); opacity: .85; transform: translateY(0); transition: opacity .35s var(--rv-ease), transform .35s var(--rv-ease), box-shadow .35s var(--rv-ease); }
.rv-card.rv-on .rv-ci { opacity: 1; transform: translateY(-6px); box-shadow: 0 22px 44px rgba(90,80,170,.2), 0 2px 8px rgba(90,80,170,.08); }
.rv-qm { display: block; margin-bottom: 14px; }
.rv-q { margin: 0 0 22px; flex: 1 1 auto; }
.rv-q p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #3E4658; text-wrap: pretty; }
.rv-by { display: flex; align-items: center; gap: 12px; }
.rv-av { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: rgb(245,242,255); color: #A855F7; font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.rv-nm { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.rv-nm b { font-size: 15px; font-weight: 700; color: #1F2430; }
.rv-nm span { font-size: 13px; color: #5F6D82; }
.rv-nav { position: absolute; top: 44%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: #fff; color: #1F2430; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px rgba(90,80,170,.2), 0 1px 3px rgba(90,80,170,.1); z-index: 2; transition: transform .2s var(--rv-ease), box-shadow .2s var(--rv-ease); }
.rv-nav:hover { transform: translateY(-2px); }
.rv-nav:focus-visible, .rv-dot:focus-visible, .rv-track:focus-visible { outline: 3px solid #0B5FFF; outline-offset: 3px; }
.rv-prev { left: -22px; } .rv-next { right: -22px; }
.rv-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 2px; }
.rv-dot { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; }
.rv-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #CFC3F3; transition: background .25s var(--rv-ease), transform .25s var(--rv-ease); }
.rv-dot.rv-on::after { background: #FF8A1F; transform: scale(1.15); }
@keyframes rv-bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }

/* scroll-in */
.rv-js .rv:not(.rv-in) .rv-mascot-wrap, .rv-js .rv:not(.rv-in) .rv-art { opacity: 0; transform: scale(.94); }
.rv-js .rv .rv-art { transition: opacity .5s var(--rv-ease), transform .5s var(--rv-ease); transform-origin: 50% 90%; }
.rv-js .rv:not(.rv-in) .rv-card { opacity: 0; transform: translateX(28px); }
.rv-js .rv .rv-card { transition: opacity .45s var(--rv-ease), transform .45s var(--rv-ease); }
.rv-js .rv.rv-in .rv-card:nth-child(1) { transition-delay: .15s; } .rv-js .rv.rv-in .rv-card:nth-child(2) { transition-delay: .27s; } .rv-js .rv.rv-in .rv-card:nth-child(3) { transition-delay: .39s; }
.rv-js .rv.rv-in .rv-card.rv-done { transition-delay: 0s; }

@media (max-width: 1023px) {
  .rv { flex-direction: column; gap: 14px; }
  .rv-art { flex: none; width: 210px; }
  .rv-stage { width: 100%; padding: 0 0 66px; }
  .rv-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 20px; padding: 26px 20px 52px; margin: -26px -20px -52px; overscroll-behavior-x: contain; scroll-padding: 0 20px; }
  .rv-ci, .rv-card.rv-on .rv-ci { box-shadow: 0 8px 20px rgba(90,80,170,.14), 0 1px 4px rgba(90,80,170,.07); }
  .rv-track::-webkit-scrollbar { display: none; }
  .rv-card { flex: 0 0 100%; box-sizing: border-box; scroll-snap-align: center; }
  .rv-ci { opacity: 1; }
  .rv-nav { top: auto; bottom: 10px; margin-top: 0; }
  .rv-prev { left: calc(50% - 128px); } .rv-next { right: calc(50% - 128px); }
}
@media (prefers-reduced-motion: reduce) {
  .rv *, .rv { animation: none !important; transition: none !important; }
  .rv-js .rv:not(.rv-in) .rv-art, .rv-js .rv:not(.rv-in) .rv-card { opacity: 1 !important; transform: none !important; }
  .rv-track { scroll-behavior: auto; }
}
