/* Restored hero rating: one bounded reveal, then a quiet hover response. */
.heed-luxury .heed-hero-rating {
  position: relative;
  isolation: isolate;
  transition: border-color 280ms cubic-bezier(.2,0,0,1), box-shadow 280ms cubic-bezier(.2,0,0,1), background-color 280ms cubic-bezier(.2,0,0,1);
}
.heed-luxury .heed-hero-rating span.heed-rating-stars:first-child {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  overflow: visible;
  clip-path: inset(-4px -2px);
  color: var(--primary);
}
.heed-luxury .heed-hero-rating .heed-rating-stars svg {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  transform-origin: 50% 70%;
  animation: heed-rating-star-arrive 620ms cubic-bezier(.16,1,.3,1) both;
}
.heed-luxury .heed-hero-rating .heed-rating-stars svg:nth-child(1) { animation-delay: 110ms; }
.heed-luxury .heed-hero-rating .heed-rating-stars svg:nth-child(2) { animation-delay: 210ms; }
.heed-luxury .heed-hero-rating .heed-rating-stars svg:nth-child(3) { animation-delay: 310ms; }
.heed-luxury .heed-hero-rating .heed-rating-stars svg:nth-child(4) { animation-delay: 410ms; }
.heed-luxury .heed-hero-rating .heed-rating-stars svg:nth-child(5) { animation-delay: 510ms; }
.heed-luxury .heed-hero-rating .heed-rating-stars::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -2px;
  bottom: -2px;
  left: -28px;
  width: 24px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, color-mix(in srgb, var(--background) 86%, transparent) 50%, transparent);
  transform: translateX(0) skewX(-15deg);
  animation: heed-rating-light-pass 1250ms cubic-bezier(.22,1,.36,1) 760ms both;
}
.heed-luxury .heed-hero-rating:hover {
  border-color: color-mix(in srgb, var(--primary) 38%, var(--luxury-line-strong));
  background-color: color-mix(in srgb, var(--primary) 5%, var(--luxury-surface-strong));
  box-shadow: 0 7px 22px -18px color-mix(in srgb, var(--primary) 60%, transparent);
}
.heed-luxury .heed-hero-rating:hover .heed-rating-stars svg {
  animation: heed-rating-star-hover 560ms cubic-bezier(.16,1,.3,1) both;
}
.heed-luxury .heed-hero-rating:hover .heed-rating-stars svg:nth-child(1) { animation-delay: 0ms; }
.heed-luxury .heed-hero-rating:hover .heed-rating-stars svg:nth-child(2) { animation-delay: 65ms; }
.heed-luxury .heed-hero-rating:hover .heed-rating-stars svg:nth-child(3) { animation-delay: 130ms; }
.heed-luxury .heed-hero-rating:hover .heed-rating-stars svg:nth-child(4) { animation-delay: 195ms; }
.heed-luxury .heed-hero-rating:hover .heed-rating-stars svg:nth-child(5) { animation-delay: 260ms; }
.heed-luxury .heed-hero-rating:hover .heed-rating-stars::after {
  animation: heed-rating-light-pass-hover 900ms cubic-bezier(.22,1,.36,1) 200ms both;
}
@keyframes heed-rating-star-arrive {
  from { opacity: .4; transform: translateY(4px) scale(.82); filter: brightness(.85); }
  58% { opacity: 1; transform: translateY(-1px) scale(1.11); filter: brightness(1.24); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1); }
}
@keyframes heed-rating-star-hover {
  from { transform: translateY(0) scale(1); filter: brightness(1); }
  52% { transform: translateY(-2px) scale(1.13); filter: brightness(1.23); }
  to { transform: translateY(0) scale(1); filter: brightness(1); }
}
@keyframes heed-rating-light-pass {
  from { transform: translateX(0) skewX(-15deg); opacity: 0; }
  18% { opacity: .5; }
  80% { opacity: .5; }
  to { transform: translateX(112px) skewX(-15deg); opacity: 0; }
}
@keyframes heed-rating-light-pass-hover {
  from { transform: translateX(0) skewX(-15deg); opacity: 0; }
  18% { opacity: .5; }
  80% { opacity: .5; }
  to { transform: translateX(112px) skewX(-15deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .heed-luxury .heed-hero-rating,
  .heed-luxury .heed-hero-rating .heed-rating-stars svg,
  .heed-luxury .heed-hero-rating .heed-rating-stars::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .heed-luxury .heed-hero-rating .heed-rating-stars::after { display: none; }
}
