/* ظهور ناعم عند التمرير */
.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  #home-reviews-track { transition: none !important; }
}
/* كرت التقييم داخل الشريط */
.hr-slide { flex: 0 0 100%; padding: 4px; box-sizing: border-box; }
.hr-card { background:#fff; border:1px solid #e2e8f0; border-radius:24px; padding:28px; box-shadow:0 12px 32px rgba(15,23,42,.06); }
.hr-dot { width:9px; height:9px; border-radius:999px; background:#cbd5e1; border:0; padding:0; cursor:pointer; transition:all .3s; }
.hr-dot.active { background:#14B8A6; width:24px; }
/* النافذة المنبثقة */
#rv-modal { position:fixed; inset:0; z-index:60; display:none; align-items:center; justify-content:center; padding:16px; background:rgba(15,23,42,.55); }
#rv-modal.open { display:flex; }
#rv-modal .rv-dialog { background:#fff; border-radius:22px; width:min(100%,440px); max-height:92vh; overflow:auto; padding:24px; box-shadow:0 24px 60px rgba(0,0,0,.28); }
#rv-modal .rv-field { width:100%; border:1px solid #cbd5e1; border-radius:12px; padding:11px 13px; font-size:15px; font-family:inherit; color:#0f172a; background:#fff; }
#rv-modal .rv-field::placeholder { color:#94a3b8; }
#rv-modal .rv-field:focus { outline:2px solid #14B8A6; border-color:#14B8A6; }
.rv-star-picker { display:inline-flex; flex-direction:row-reverse; gap:4px; direction:ltr; }
.rv-star-picker button { background:none; border:0; padding:2px; cursor:pointer; line-height:0; }
.rv-star-picker button svg { width:34px; height:34px; }
.rv-star-picker button .sp { fill:#e2e8f0; transition:fill .12s; }
.rv-star-picker button.on .sp { fill:#f59e0b; }
