:root {
  --yellow: #ffc800;
  --yellow-deep: #f2bb00;
  --ink: #121212;
  --muted: #777;
  --surface: #f6f6f6;
  --line: #e8e8e8;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 0 28px 24px;
}

.page > .hero {
  width: min(100vw, 1200px);
  margin-inline: calc((100% - min(100vw, 1200px)) / 2);
  padding: 20px 22px 0;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.hero {
  display: grid;
  grid-template-columns: minmax(72px, clamp(88px, 30vw, 300px)) minmax(0, 1fr);
  column-gap: clamp(8px, 2vw, 20px);
  align-items: start;
}

.hero-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  align-self: start;
  justify-self: start;
  object-fit: contain;
  object-position: left top;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  margin-bottom: 0;
  min-height: 0;
  min-width: 0;
  max-width: 640px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.08em;
  margin: 0 0 8px;
  font-size: clamp(14px, 3.8vw, 20px);
  line-height: 1.12;
  color: #000;
  text-align: left;
}

.hero-title__row {
  display: flex;
  align-items: baseline;
  width: 100%;
  font-size: clamp(15px, 4vw, 22px);
}

.hero-title__row--bold {
  font-weight: 700;
  padding-top: 0;
}

.hero-title__row--reg {
  font-weight: 400;
  font-size: clamp(12px, 3.2vw, 18px);
}

.hero-title__mark {
  display: inline-flex;
  width: fit-content;
  font-weight: 700;
  color: #000;
  font-size: clamp(13px, 3.6vw, 20px);
  background: linear-gradient(
    90deg,
    rgba(255, 210, 0, 0.15) 0%,
    #ffcc00 5%,
    #ffd10a 50%,
    #ffcc00 95%,
    rgba(255, 210, 0, 0.2) 100%
  );
  padding: 0.12em 0.22em 0.14em 0.14em;
  margin: 0 0 0 -0.06em;
  border-radius: 0.1em 0.18em 0.1em 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.title-pict {
  display: block;
  width: 100%;
  line-height: 0;
}

.caption-title {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: left top;
}

.desc {
  color: #3a3a3a;
  font-size: clamp(12px, 3.1vw, 15px);
  line-height: 1.3;
  max-width: none;
  margin: 6px 0 0;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(180px, clamp(200px, 26vw, 340px)) minmax(0, 1fr);
    align-items: start;
    margin-bottom: 24px;
  }

  .hero-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(260px, 36vw, 440px);
    object-fit: contain;
    object-position: left top;
  }

  .hero-lead {
    justify-content: flex-start;
    align-self: start;
    padding: 0 0 clamp(16px, 2.5vw, 32px) clamp(8px, 1.5vw, 20px);
    width: 100%;
  }

  .hero-title {
    font-size: clamp(32px, 3.2vw, 46px);
    margin-bottom: clamp(14px, 2vw, 22px);
  }

  .hero-title__row {
    font-size: clamp(34px, 3.4vw, 50px);
  }

  .hero-title__row--reg {
    font-size: clamp(24px, 2.2vw, 36px);
  }

  .hero-title__mark {
    font-size: clamp(28px, 2.6vw, 44px);
  }

  .desc {
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.4;
    margin-top: clamp(12px, 1.8vw, 20px);
  }
}

@media (min-width: 400px) and (max-width: 800px) {
  .hero {
    align-items: start;
  }

  .hero-img {
    object-fit: contain;
    object-position: left top;
    max-height: clamp(220px, 50vw, 400px);
  }

  .hero-lead {
    min-height: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .page > .hero {
    padding: 14px 8px 0;
  }

  .hero {
    grid-template-columns: minmax(64px, clamp(76px, 38vw, 200px)) minmax(0, 1fr);
    column-gap: 6px;
  }

  .hero-img {
    max-height: 180px;
  }

  .hero-title {
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .hero-title__row {
    font-size: 18px;
  }

  .hero-title__row--reg {
    font-size: 16px;
  }

  .hero-title__mark {
    font-size: 18px;
  }

  .desc {
    font-size: clamp(11px, 2.9vw, 14px);
  }
}

.decor {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.decor--building {
  z-index: 0;
  top: -7px;
  right: -6px;
  width: 60px;
  opacity: 0.62;
  transform: rotate(-11deg);
  transform-origin: center;
}

.quiz {
  display: grid;
  gap: 25px;
}

.question {
  position: relative;
}

.question__number {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  color: var(--yellow-deep);
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-2deg);
  padding-bottom: 10px;
}

.question__wave {
  display: block;
  width: 34px;
  height: auto;
  margin-top: 2px;
  transform: rotate(2deg);
}

.question h2 {
  margin: 2px 0 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.options {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.option,
.type-card,
.submit {
  border: 0;
  cursor: pointer;
  color: var(--ink);
}

.option {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 43px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #f6f6f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
  font-size: 12px;
  font-weight: 500;
  transition: 160ms ease;
}

.option.is-active {
  background: #ffc800;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 200, 0, 0.22);
}

.type-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 8px 11px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  transition: 160ms ease;
}

.type-card__arrow {
  position: absolute;
  z-index: 3;
  top: -7px;
  right: -21px;
  bottom: auto;
  width: 17px;
  height: auto;
  pointer-events: none;
  transform: rotate(-8deg);
}

.type-card.is-active {
  border-color: var(--yellow);
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.04);
}

.type-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: var(--yellow);
}

.type-card__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #111;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.radio {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: auto;
  flex: 0 0 19px;
  border: 1.5px solid #dedede;
  border-radius: 50%;
  background: #fff;
}

.radio svg {
  display: none;
  width: 11px;
  height: 11px;
  color: #fff;
}

.type-card.is-active .radio {
  border-color: var(--yellow);
  background: var(--yellow);
}

.type-card.is-active .radio svg {
  display: block;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 45px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.input-wrap input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 40px 0 13px;
  border: 0;
  outline: 0;
  color: #222;
  background: transparent;
  font-size: 16px;
}

.input-wrap input::placeholder {
  color: #c4c4c4;
}

.input-wrap:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 200, 0, 0.1);
}

.input-wrap svg {
  position: absolute;
  right: 13px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #111;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.input-wrap--phone input {
  padding-left: 64px;
}

.flag,
.prefix {
  position: absolute;
  z-index: 1;
  font-size: 12px;
}

.flag {
  left: 11px;
}

.prefix {
  left: 34px;
  font-weight: 600;
}

.recaptcha-notice {
  margin: 0;
  padding: 0;
  font-size: 8px;
  line-height: 1.4;
  color: #aaa;
  text-align: center;
}

.recaptcha-notice a {
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recaptcha-notice a:hover {
  color: #666;
}

.grecaptcha-badge,
body > .grecaptcha-badge {
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  right: -9999px !important;
  bottom: -9999px !important;
  z-index: -1 !important;
}

.form-actions {
  display: grid;
  gap: 6px;
  margin-top: 0;
}

.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 47px;
  margin-top: 0;
  border-radius: 9px;
  background: var(--yellow);
  box-shadow: 0 7px 18px rgba(255, 200, 0, 0.25);
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, filter 160ms ease;
}

.submit span:last-child {
  font-size: 19px;
  font-weight: 400;
}

.submit:hover {
  filter: brightness(1.035);
  transform: translateY(-1px);
}

.submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.benefits {
  margin-top: 18px;
}

.page .benefits__grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.page .benefit {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 14px 0;
  min-height: 78px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page .benefit + .benefit::before {
  display: none;
}

.page .benefit__top {
  min-height: 0;
  align-items: center;
  gap: 10px;
}

.page .benefit__text {
  margin-top: 0;
  justify-self: end;
  text-align: right;
  font-size: 16px;
  line-height: 1.25;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.benefit {
  position: relative;
  padding: 14px;
}

.benefit + .benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.benefit__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 10px 18px rgba(244, 192, 0, 0.18);
}

.benefit__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.benefit__num {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.14);
}

.benefit__text {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
}

@media (max-width: 780px) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }

  .benefit {
    padding: 10px 8px 6px;
  }

  .benefit + .benefit::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .benefit {
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 14px 0;
    min-height: 78px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .benefit__top {
    min-height: 0;
    align-items: center;
    gap: 10px;
  }

  .benefit__text {
    margin-top: 0;
    justify-self: end;
    text-align: right;
    font-size: 16px;
    line-height: 1.25;
  }
}

.contacts {
  margin-top: 6px;
  padding: 14px 14px 4px;
  border-top: 1px solid #efefef;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.025);
  text-align: center;
}

.contacts > p {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
}

.contacts__links {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
}

.contacts a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  min-width: 52px;
  color: inherit;
  text-decoration: none;
}

.contacts__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
}

.contacts__badge svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts__badge svg path[fill="#fff"] {
  fill: #fff;
  stroke: none;
}

.contacts__logo,
.contacts__logo-svg {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.contacts__logo-svg {
  fill: #fff;
}

.contacts small {
  font-size: 8px;
}

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 20px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: 220ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (min-width: 600px) {
  body {
    background: #f5f5f5;
  }

  .page {
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.06);
  }

  .page {
    padding: 0 28px 32px 28px;
  }

  .question h2 {
    font-size: 17px;
  }

  .question__number {
    font-size: 34px;
  }

  .option,
  .type-card,
  .input-wrap,
  .submit {
    min-height: 48px;
    font-size: 13px;
  }

  .input-wrap {
    height: 48px;
  }

  .benefit__text {
    font-size: 17px;
  }

  .contacts > p {
    font-size: 12px;
  }

  .contacts small {
    font-size: 9px;
  }
}

@media (min-width: 768px) {
  body {
    background: #fff;
  }

  .page {
    width: min(100%, 1200px);
    padding: 20px 22px 34px;
    min-height: auto;
    box-shadow: none;
  }

  .page > .hero {
    width: 100%;
    margin-inline: 0;
    padding: 0;
    margin-bottom: 24px;
  }

  .quiz {
    gap: 18px;
    margin-top: 18px;
  }

  .question {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .question__number {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: auto;
    margin-top: -8px;
    padding-bottom: 0;
    font-size: 72px;
  }

  .question__wave {
    display: none;
  }

  .question h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 14px;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.15;
  }

  .question .options,
  .question .input-wrap {
    grid-column: 2;
    grid-row: 2;
  }

  .options {
    gap: 14px;
  }

  .options--stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .options--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option {
    min-height: 66px;
    padding: 18px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  }

  .option.is-active {
    box-shadow: 0 10px 18px rgba(244, 192, 0, 0.22);
  }

  .type-card {
    min-height: 66px;
    padding: 18px;
    border-radius: 14px;
    border-width: 2px;
    font-size: 19px;
    font-weight: 600;
    gap: 14px;
  }

  .type-card__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
  }

  .type-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .radio {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .radio svg {
    width: 14px;
    height: 14px;
  }

  .input-wrap {
    height: 64px;
    border-width: 2px;
    border-radius: 14px;
  }

  .input-wrap input {
    font-size: 19px;
    font-weight: 500;
    padding-right: 54px;
  }

  .input-wrap svg {
    width: 22px;
    height: 22px;
    right: 16px;
  }

  .input-wrap--phone .prefix {
    left: 42px;
    font-size: 18px;
  }

  .input-wrap--phone input {
    padding-left: 78px;
  }

  .input-wrap--phone .flag {
    left: 14px;
    font-size: 18px;
  }

  .recaptcha-notice {
    font-size: 9px;
  }

  .form-actions {
    gap: 8px;
    margin-top: 0;
    margin-left: 106px;
    width: calc(100% - 106px);
  }

  .submit {
    margin-top: 0;
    min-height: 100px;
    height: 100px;
    border-radius: 16px;
    font-size: 21px;
    font-weight: 700;
    gap: 12px;
  }

  .page .benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .page .benefit {
    display: block;
    padding: 14px;
    min-height: 0;
    border-bottom: 0;
  }

  .page .benefit + .benefit::before {
    display: block;
  }

  .page .benefit__top {
    min-height: 54px;
    gap: 12px;
  }

  .page .benefit__text {
    margin-top: 8px;
    justify-self: start;
    text-align: left;
    font-size: 15px;
    line-height: 1.15;
  }

  .contacts {
    margin-top: 16px;
    padding: 20px 14px 8px;
  }

  .contacts > p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .contacts small {
    font-size: 11px;
  }

  .contacts__badge {
    width: 44px;
    height: 44px;
  }

  .contacts__badge svg,
  .contacts__logo,
  .contacts__logo-svg {
    width: 22px;
    height: 22px;
  }

  .page .reviews__shell {
    margin-inline: 0;
    padding: 40px;
  }

  .page .reviews__heading {
    font-size: clamp(22px, 2.4vw, 30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* ——— Отзывы: фон, 3D-карусель (десктоп), слайдер (моб.) ——— */

.reviews__shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  /* border-radius: 18px; */
  overflow: hidden;
  background-color: #fff;
}

.reviews__bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(1.12);
}

.reviews__overlay {
  position: absolute;
  inset: 0;
  /* Плавное «растворение» к белому по левому, правому и верхнему краю */
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, 0) clamp(56px, 14vw, 180px)
    ),
    linear-gradient(
      270deg,
      #fff 0%,
      rgba(255, 255, 255, 0) clamp(56px, 14vw, 180px)
    ),
    linear-gradient(
      180deg,
      #fff 0%,
      rgba(255, 255, 255, 0) clamp(48px, 12vw, 140px)
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.68) 42%,
      rgba(252, 252, 252, 0.72) 100%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(255, 255, 255, 0.35) 0%,
      transparent 100%
    );
  pointer-events: none;
}

.reviews__content {
  position: relative;
  z-index: 1;
}

.reviews__heading {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

.reviews__lead {
  margin: 14px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: clamp(15px, 2.3vw, 18px);
  line-height: 1.45;
  color: #555;
}

.reviews__carousel {
  margin-top: clamp(28px, 5vw, 40px);
}

.reviews__stage {
  position: relative;
  width: 100%;
  min-width: 0;
}

.reviews__arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #666;
  cursor: pointer;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.reviews__arrow--prev {
  left: 10px;
}

.reviews__arrow--next {
  right: 10px;
}

.reviews__arrow svg {
  display: block;
  width: 20px;
  height: 36px;
}

.reviews__arrow:hover {
  color: #333;
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.reviews__arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.reviews__viewport {
  flex: 1 1 auto;
  min-width: 0;
  outline: none;
  position: relative;
}

/* Десктоп: «стек» из трёх карточек */

@media (min-width: 768px) {
  .reviews__viewport {
    overflow: visible;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .reviews__track {
    --reviews-shift: clamp(210px, 23vw, 270px);
    position: relative;
    min-height: clamp(380px, 44vw, 480px);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1600px;
    transform-style: preserve-3d;
  }

  .reviews__track .review-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(400px, 82%);
    max-width: 400px;
    margin: 0;
    transform-origin: 50% 50%;
    transition:
      transform 0.55s cubic-bezier(0.33, 1, 0.48, 1),
      opacity 0.45s ease,
      filter 0.45s ease,
      box-shadow 0.45s ease;
    will-change: transform;
  }

  .review-card--center {
    z-index: 5;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: none;
  }

  .review-card--left {
    z-index: 3;
    transform: translate(
        calc(-50% - var(--reviews-shift)),
        -50%
      )
      scale(0.88);
    opacity: 0.9;
    filter: brightness(0.98);
  }

  .review-card--right {
    z-index: 3;
    transform: translate(
        calc(-50% + var(--reviews-shift)),
        -50%
      )
      scale(0.88);
    opacity: 0.9;
    filter: brightness(0.98);
  }

  .review-card--hidden {
    z-index: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0;
    filter: blur(2px);
  }
}

/* Мобильный: горизонтальный слайдер */

@media (max-width: 767px) {
  .reviews__shell {
    border-radius: 14px;
    padding-left: clamp(10px, 2.5vw, 14px);
    padding-right: clamp(10px, 2.5vw, 14px);
  }

  .reviews__heading {
    font-size: clamp(17px, 4.5vw, 22px);
  }

  .reviews__lead {
    font-size: 13px;
    margin-top: 10px;
  }

  .reviews__stage {
    align-self: stretch;
  }

  .reviews__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    container-type: inline-size;
    container-name: reviews-view;
  }

  .reviews__viewport::-webkit-scrollbar {
    display: none;
  }

  .reviews__arrow {
    width: 25px;
    height: 25px;
    box-shadow:
      0 1px 6px rgba(0, 0, 0, 0.14),
      0 0 0 1px rgba(0, 0, 0, 0.05);
  }

  .reviews__arrow--prev {
    left: -8px;
  }

  .reviews__arrow--next {
    right: -8px;
  }

  .reviews__arrow svg {
    width: 10px;
    height: 18px;
  }

  .reviews__arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .reviews__arrow:active {
    transform: translateY(-50%) scale(0.95);
  }

  .reviews__track {
    display: flex;
    min-width: 100%;
    gap: 0;
    padding: 2px 0 8px;
    min-height: 0;
    justify-content: flex-start;
    align-items: stretch;
  }

  .reviews__track::before,
  .reviews__track::after {
    display: none;
  }

  .reviews__track .review-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
  }

  .review-card {
    padding: 11px 12px 12px;
    border-radius: 12px;
    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.08),
      0 1px 4px rgba(0, 0, 0, 0.04);
  }

  .review-card__head {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 6px;
    align-items: start;
    margin-bottom: 8px;
  }

  .review-card__avatar {
    grid-column: 1;
    grid-row: 1;
    width: 36px;
    height: 36px;
    font-size: 12px;
    border-radius: 50%;
  }

  .review-card__avatar--light {
    font-size: 15px;
  }

  .review-card__who {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .review-card__who--grow {
    grid-column: 2;
    grid-row: 1;
  }

  .review-card__head .review-card__subscribe,
  .review-card__head .review-card__more {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .review-card__head .review-card__stars {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    justify-self: start;
    align-self: start;
    font-size: 12px;
    letter-spacing: 0.2px;
  }

  .review-card__name {
    font-size: 14px;
    line-height: 1.2;
  }

  .review-card__meta {
    font-size: 11px;
    line-height: 1.35;
    margin-top: 1px;
    word-break: break-word;
  }

  .review-card__name-row {
    gap: 3px 5px;
  }

  .review-card__rating-row {
    gap: 6px 10px;
    margin-bottom: 8px;
  }

  .review-card__rating-row .review-card__stars {
    font-size: 12px;
  }

  .review-card__date {
    font-size: 11px;
  }

  .review-card__text {
    font-size: 12px;
    line-height: 1.45;
    color: #222;
  }

  .review-card__foot {
    margin-top: 10px;
    padding-top: 8px;
  }

  .review-card__comments,
  .review-card__chip,
  .review-card__stat {
    font-size: 12px;
  }

  .review-card__stars--block {
    margin: 0 0 8px;
    font-size: 12px;
  }

  .review-card__subscribe {
    font-size: 12px;
  }

  .review-card--hidden,
  .review-card--left,
  .review-card--center,
  .review-card--right {
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
  }
}

/* Точная ширина слайда = ширина области прокрутки (моб. отзывы) */
@container reviews-view (min-width: 0) {
  .reviews__track .review-card {
    flex: 0 0 100cqi;
    width: 100cqi;
    max-width: 100cqi;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__track .review-card {
    transition: none;
  }
}

.reviews {
  margin-top: 8px;
}

.page .reviews__shell {
  max-width: none;
  margin-inline: -28px;
  padding-top: 28px;
  padding-bottom: 28px;
  padding-inline: 28px;
}

/* Карточка отзыва */

.review-card {
  box-sizing: border-box;
  border-radius: 14px;
  background: #fff;
  padding: clamp(18px, 3vw, 22px) clamp(18px, 3vw, 24px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.review-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  background: var(--avatar-bg, #f0f0f0);
  color: var(--avatar-fg, #5c5c5c);
  line-height: 1;
}

.review-card__avatar--light {
  font-size: 18px;
  font-weight: 700;
}

.review-card__who {
  min-width: 0;
  flex: 1 1 auto;
}

.review-card__who--grow {
  flex: 1 1 auto;
}

.review-card__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.review-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.review-card__dot {
  color: #999;
  font-weight: 400;
}

.review-card__meta {
  font-size: 13px;
  line-height: 1.35;
  color: #888;
  margin-top: 2px;
}

.review-card__name-row + .review-card__meta {
  margin-top: 4px;
}

.review-card__stars {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: flex-start;
  letter-spacing: 1px;
  font-size: 16px;
  line-height: 1;
  color: #f4c000;
}

.review-card__stars--inline {
  margin-left: 0;
  letter-spacing: 0.5px;
}

.review-card__stars--block {
  margin: 0 0 12px;
  align-self: flex-start;
}

.review-card__rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.review-card__date {
  font-size: 13px;
  color: #888;
}

.review-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
}

.review-card__foot {
  display: flex;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.review-card__foot--rich {
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.review-card__comments {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  vertical-align: middle;
  color: #8e8e93;
}

.review-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  vertical-align: middle;
  color: #8e8e93;
}

.review-card__comments svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
  flex-shrink: 0;
}

.review-card__chip svg,
.review-card__stat svg {
  overflow: visible;
  flex-shrink: 0;
}

.review-card__stat svg {
  display: block;
  width: 16px;
  height: 16px;
}

.review-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #8e8e93;
  font: inherit;
  font-size: 14px;
  cursor: default;
}

.review-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-size: 14px;
}

.review-card__stat--push {
  margin-left: auto;
}

.review-card__more {
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 4px 0 4px 8px;
  color: #aaa;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
  cursor: default;
}

.review-card__subscribe {
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 2px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #2e9d4c;
  cursor: default;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .page .reviews__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: none;
    margin: 0;
    container-type: inline-size;
    container-name: reviews-view;
  }

  .page .reviews__viewport::-webkit-scrollbar {
    display: none;
  }

  .page .reviews__track {
    position: relative;
    display: flex;
    min-width: 100%;
    min-height: 0;
    gap: 0;
    padding: 2px 0 8px;
    perspective: none;
    transform-style: flat;
  }

  .page .reviews__track .review-card {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .page .reviews__arrow {
    width: 25px;
    height: 25px;
  }

  .page .reviews__arrow--prev {
    left: -8px;
  }

  .page .reviews__arrow--next {
    right: -8px;
  }

  .page .reviews__arrow svg {
    width: 10px;
    height: 18px;
  }

  .page .reviews__heading {
    font-size: clamp(17px, 4.5vw, 22px);
  }
}