
#reviews { --t04-gutter: calc(8% + 20px); position: relative; z-index: 5; padding: 80px 0; background: #fff; color: #30353A; overflow: hidden; }
#reviews figure, #reviews blockquote { margin: 0; }
#reviews p { margin: 0; }


#reviews .t04__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #30353A; }
#reviews .t04__top { display: grid; gap: 20px; margin-bottom: 40px; padding-inline: var(--t04-gutter); }
#reviews h2 { margin: 0; padding: 0; font-weight: 700; font-size: 32px; line-height: 1.25; color: #30353A; text-transform: none; letter-spacing: 0; }
#reviews .t04__summary { display: grid; gap: 6px; justify-items: start; align-content: end; }
#reviews .t04__score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
#reviews .t04__avg { font-family: 'Inter', Arial, sans-serif; font-weight: 700; font-size: 32px; line-height: 1; }
#reviews .t04__count { font-size: 15px; font-weight: 700; }
#reviews .t04__profile { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #30353A; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: #D8B98A; text-underline-offset: 4px; }
#reviews .t04__profile:hover { color: #000; }

#reviews .t04__stars { display: inline-flex; gap: 3px; line-height: 0; }
#reviews .t04__stars--avg { position: relative; }
#reviews .t04__stars-row { display: inline-flex; gap: 3px; }
#reviews .t04__stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
#reviews .t04__star { flex: none; width: 16px; height: 16px; fill: #D8B98A; }
#reviews .t04__star--off { fill: #dce0e4; }


#reviews .t04__rows { display: grid; gap: 20px; overflow: hidden; }

#reviews .t04__row { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 var(--t04-gutter) 6px; }

#reviews .t04__row--2 { padding-inline-start: calc(var(--t04-gutter) + var(--t04-card) / 2); }
#reviews .t04__track { --t04-shift: 0px; --t04-dur: 60s; list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; width: max-content; }
#reviews .t04__track:focus-visible { outline: 2px solid #30353A; outline-offset: 4px; }

#reviews { --t04-card: min(calc(100vw - 80px), 360px); }
#reviews .t04__card { flex: none; width: var(--t04-card); display: flex; scroll-snap-align: start; background: #f4f4f4; border-radius: 8px; }
#reviews.is-grey { background: #f4f4f4; }
#reviews.is-grey .t04__card { background: #fff; }
#reviews .t04__review { display: flex; flex-direction: column; gap: 16px; padding: 24px; width: 100%; text-align: left; }
#reviews .t04__cite { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #dce0e4; }
#reviews .t04__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #30353A; color: #fff; font-family: 'Inter', Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1; }
#reviews .t04__who { display: grid; gap: 4px; min-width: 0; }
#reviews .t04__name { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
#reviews .t04__text { font-size: 15px; line-height: 1.6; color: #555b61; }

#reviews .t04__foot { margin-top: 20px; display: flex; align-items: center; padding-inline: var(--t04-gutter); }
#reviews .t04__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #30353A; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
#reviews .t04__toggle[hidden] { display: none; }
#reviews .t04__toggle:hover .t04__toggle-label { text-decoration: underline; }

#reviews .t04__toggle-icon { width: 12px; height: 12px; border-inline: 3px solid currentColor; box-sizing: border-box; }
#reviews .t04__toggle[aria-pressed='true'] .t04__toggle-icon { width: 0; height: 0; border-inline: 0; border-block: 6px solid transparent; border-left: 12px solid currentColor; }


#reviews[data-moving] .t04__row { overflow: hidden; scroll-snap-type: none; }
#reviews[data-moving] .t04__row--2 { padding-inline-start: var(--t04-gutter); }
#reviews[data-moving] .t04__track { animation: t04-drift var(--t04-dur) linear infinite; }
#reviews[data-moving] .t04__row--2 .t04__track { animation-direction: reverse; }
#reviews[data-moving][data-paused] .t04__track,
#reviews[data-moving] .t04__rows:hover .t04__track,
#reviews[data-moving] .t04__rows:focus-within .t04__track { animation-play-state: paused; }
@keyframes t04-drift { to { transform: translateX(calc(var(--t04-shift) * -1)); } }

@media only screen and (min-width: 768px) {
  #reviews .t04__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  #reviews .t04__summary { justify-items: end; }
}
@media only screen and (max-width: 980px) {
  #reviews { --t04-gutter: 40px; padding-block: 60px; }
  #reviews h2 { font-size: 26px; line-height: 35px; }
}
@media only screen and (max-width: 479px) {
  #reviews .t04__review { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #reviews .t04__track { animation: none !important; }
}


@media only screen and (max-width: 479px) {
  #reviews { --t04-gutter: 24px; }
}
