/* ==========================================================
   RELIABLE TRAVELS — traveller reviews: one row drifting on its own (reviews.js fills it)
   ========================================================== */
.rv { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: var(--sec, 80px) 0;
  background: radial-gradient(70% 55% at 50% -10%, #3a2148 0%, transparent 70%), linear-gradient(180deg, #150c20 0%, #0d0916 100%); }

/* Two projector beams sway slowly from the top, like light in a cinema */
.rv-beam { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rv-beam i { position: absolute; top: -20%; left: 50%; width: 46vw; height: 140%; transform-origin: 50% 0; opacity: .5;
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, #ffd16624 176deg, #ff8ac21c 184deg, transparent 192deg); filter: blur(6px); animation: rvSway 14s ease-in-out infinite alternate; }
.rv-beam i:last-child { opacity: .35; animation-duration: 19s; animation-direction: alternate-reverse; background: conic-gradient(from 180deg at 50% 0%, transparent 170deg, #8f7bff22 178deg, transparent 190deg); }
@keyframes rvSway { from { transform: translateX(-50%) rotate(-16deg); } to { transform: translateX(-50%) rotate(16deg); } }
.rv-quote-bg { position: absolute; z-index: -1; right: 4vw; top: -6vw; font: 400 clamp(260px, 34vw, 560px)/1 Georgia, serif; color: transparent; background: linear-gradient(180deg, #ffffff12, transparent 70%); -webkit-background-clip: text; background-clip: text; pointer-events: none; }

/* ---------- Heading + score ---------- */
.rv-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 0 max(24px, 10vw); margin-bottom: var(--sec-head, 36px); }
.rv-head h2 { font-size: clamp(42px, 5vw, 78px); font-weight: 600; }
.rv-head h2 em { font-family: Georgia, serif; font-weight: 400; background: linear-gradient(90deg, #ffd166, #ff8ac2, #b79bff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.rv-score { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 18px; border-radius: 20px; background: #ffffff0d; border: 1px solid #ffffff1c; backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(20px); transition: opacity .8s .3s, transform 1s .3s var(--ease-out); }
.rv.in .rv-score { opacity: 1; transform: none; }
.rv-score strong { font: 700 48px/1 Manrope, sans-serif; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-score small { display: block; margin-top: 6px; font-size: 12px; color: #b9aec8; }

/* Stars fill one after another */
.rv-stars { display: inline-flex; gap: 3px; }
.rv-stars i { width: 15px; height: 15px; background: #ffffff26; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); position: relative; overflow: hidden; }
.rv-stars i:after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #ffd166, #ff9f3a); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.rv.in .rv-stars i:after { transform: none; }
.rv-stars i:nth-child(1):after { transition-delay: .5s; } .rv-stars i:nth-child(2):after { transition-delay: .6s; } .rv-stars i:nth-child(3):after { transition-delay: .7s; } .rv-stars i:nth-child(4):after { transition-delay: .8s; } .rv-stars i:nth-child(5):after { transition-delay: .9s; }
.rv-card .rv-stars i { width: 13px; height: 13px; }
.rv-card .rv-stars i:after { transform: none; }

/* ---------- Row: endless drift ---------- */
.rv-rows { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-row { display: flex; overflow: hidden; opacity: 0; filter: blur(8px); transform: translateX(var(--from)); transition: opacity 1.1s var(--ease-out), filter 1.1s, transform 1.4s var(--ease-cine); }
.rv-row:nth-child(1) { --from: -12%; }
.rv-row:nth-child(2) { --from: 12%; transition-delay: .15s; }
.rv.in .rv-row { opacity: 1; filter: none; transform: none; }
.rv-track { display: flex; flex: none; gap: 18px; padding: 14px 9px; animation: rvMarquee var(--dur, 70s) linear infinite; }
.rv-row:nth-child(2) .rv-track { animation-direction: reverse; }
.rv-row:hover .rv-track { animation-play-state: paused; }
@keyframes rvMarquee { to { transform: translateX(-50%); } }

/* ---------- Card ---------- */
.rv-card { --c: #ffd166; position: relative; flex: none; width: clamp(300px, 28vw, 410px); display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 20px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #ffffff12, #ffffff05); border: 1px solid #ffffff17; backdrop-filter: blur(14px);
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s; }
.rv-card:nth-child(odd) { transform: translateY(6px); }
.rv-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 60px -30px var(--c); }
/* soft light drifting across every card */
.rv-card:before { content: ""; position: absolute; inset: -40% -60%; z-index: -1; background: linear-gradient(115deg, transparent 40%, #ffffff0d 50%, transparent 60%); animation: rvShine 7s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -1.3s); }
@keyframes rvShine { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
.rv-card-top { display: flex; justify-content: space-between; align-items: center; }
.rv-mark { font: 400 64px/.6 Georgia, serif; height: 30px; background: linear-gradient(135deg, var(--c), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-card p { margin: 0; flex: 1; font-size: 15px; line-height: 1.65; color: #e6deef; }
.rv-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #ffffff14; }
.rv-avatar { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, #7b4dff)); color: #140c1f; font: 800 14px Manrope, sans-serif; }
.rv-who b { display: block; font: 700 14.5px Manrope, sans-serif; }
.rv-who small { display: block; margin-top: 2px; font-size: 12px; color: #a99fb8; }
.rv-trip { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 30px; background: #ffffff10; border: 1px solid #ffffff17; max-width: 48%; }
.rv-trip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.rv-trip span { font-size: 11px; line-height: 1.25; color: #d9d0e4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .rv-head { flex-direction: column; align-items: start; gap: 18px; padding: 0 24px; }
  .rv-quote-bg { top: 0; }
  .rv-card { width: 82vw; }
  .rv-trip { max-width: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  .rv *, .rv *:before, .rv *:after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv-row, .rv-score { opacity: 1; filter: none; transform: none; }
  .rv-row { overflow-x: auto; }
}
