/* блок отзывов под калькулятором (postavit-otzyvy-chakry.py, 10.11.2026) */
.otzyvy { padding: 56px 0 48px; border-top: 1px solid rgba(232,192,138,.1) }
.otzyvy h2 { font: 500 clamp(22px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -.015em; color: var(--fg); margin: 0 0 10px }
.otzyvy__lid { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 24px; max-width: 58ch }
.otzyvy__lenta { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 300px); gap: 14px; align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 2px 2px 14px; margin: 0 -2px;
  scrollbar-width: thin; scrollbar-color: rgba(232,192,138,.3) transparent }
.otzyvy__lenta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px }
.otzyv { scroll-snap-align: start; margin: 0; border-radius: 20px; border: 1px solid rgba(232,192,138,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -40px rgba(0,0,0,.9); overflow: hidden }
.otzyv--skrin { background: none; border-radius: 18px; border: 1px solid rgba(232,192,138,.2); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9) }
.otzyv--skrin img { display: block; width: 100%; height: auto }
.otzyv--dlinnyy .otzyv__esche { margin: 0; width: 100%; border-radius: 0 0 17px 17px; border: 0; border-top: 1px solid rgba(232,192,138,.2); background: rgba(13,11,31,.92) }
.otzyv.svernut .otzyv__telo { max-height: 560px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, rgba(0,0,0,.25)); mask-image: linear-gradient(#000 78%, rgba(0,0,0,.25)) }
.otzyv__esche { margin-top: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(232,192,138,.4);
  background: transparent; color: var(--accent); font: 500 14px/1 var(--text); cursor: pointer }
.otzyv__esche:hover { background: rgba(232,192,138,.1) }
@media (max-width: 759px) { .otzyvy { padding-top: 44px } .otzyvy__lenta { grid-auto-columns: 82%; } .otzyv.svernut .otzyv__telo { max-height: 410px } }
.otzyvy__tochki { display: flex; justify-content: center; gap: 2px; margin-top: 6px }
.otzyvy__tochka { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer }
.otzyvy__tochka::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(232,192,138,.3); transition: background .4s, transform .4s }
.otzyvy__tochka[aria-current="true"]::before { background: var(--accent); transform: scale(1.45) }
.otzyvy__tochka:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 50% }
.otzyvy__svaip { margin: 2px 0 0; text-align: center; font: 400 13px/1.3 var(--text); color: var(--muted) }
/* компьютер: три колонки сеткой (CSS columns в Safari рисовали только первую карточку, 10.11.2026) */
@media (min-width: 1100px) { .otzyvy__tochki, .otzyvy__svaip { display: none } .otzyvy__lenta { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; gap: 18px; overflow: visible } }
/* карусель (11.11.2026): центральный отзыв чёткий, соседи по бокам размыты, по кругу */
.otzyvy__ram { position: relative }
.otzyvy__str { display: none }
.otzyvy.karusel .otzyvy__lenta { display: block; position: relative; overflow: hidden; overflow: clip; scroll-snap-type: none; padding: 0; margin: 0; columns: auto;
  touch-action: pan-y; transition: height .45s cubic-bezier(.32,.72,0,1) }
.otzyvy.karusel .otzyv { position: absolute; left: 50%; top: 0; scroll-snap-align: none; width: min(300px, 74vw); margin: 0; break-inside: auto;
  transform-origin: 50% 0; transition: transform .5s cubic-bezier(.32,.72,0,1), opacity .5s, filter .5s; -webkit-user-select: none; user-select: none }
.otzyvy.karusel .otzyv img { -webkit-user-drag: none; pointer-events: none }
.otzyvy.karusel .otzyv:not(.aktiv) { cursor: pointer }
.otzyvy.karusel .otzyv.svernut .otzyv__telo { max-height: 410px }
.otzyvy.karusel .otzyvy__tochki { display: flex }
.otzyvy.karusel .otzyvy__svaip { display: block }
@media (max-width: 759px) { .otzyvy.karusel .otzyvy__lenta { margin-inline: calc(50% - 50vw) } }
.otzyvy__nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 6px }
.otzyvy__nav .otzyvy__tochki { margin: 0 }
@media (min-width: 760px) {
  .otzyvy.karusel .otzyvy__str { display: inline-flex; flex: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(232,192,138,.45); background: rgba(232,192,138,.08); color: var(--accent); cursor: pointer; transition: background .2s, color .2s }
  .otzyvy.karusel .otzyvy__str svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
  .otzyvy.karusel .otzyvy__str:hover { background: var(--accent); color: #14110A }
  .otzyvy.karusel .otzyvy__str:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
}
@media (prefers-reduced-motion: reduce) { .otzyvy.karusel .otzyv, .otzyvy.karusel .otzyvy__lenta { transition: none } }
