/* =========================================================
   Универсальный блок отзывов «Время Радоваться»
   Подключается один раз на всём сайте.
   ========================================================= */

.vr-reviews,
.vr-reviews * {
  box-sizing: border-box;
}

.vr-reviews {
  --vr-blue: #0f68e4;
  --vr-blue-dark: #084cae;
  --vr-text: #111111;
  --vr-muted: #999999;
  --vr-body: #4f5868;
  --vr-line: rgba(17, 17, 17, 0.09);
  --vr-soft-line: rgba(15, 104, 228, 0.14);
  --vr-section-width: 1560px;
  --vr-section-fluid-width: calc(100vw - clamp(80px, 24vw, 360px));

  padding: 80px 20px;
  background: #ffffff;
  color: var(--vr-text);
  font-family: "Gilroy", var(--t-text-font, Arial), Arial, sans-serif;
}

.vr-reviews__wrap {
  width: min(var(--vr-section-width), var(--vr-section-fluid-width));
  margin: 0 auto;
}

.vr-reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 18px;
}

.vr-reviews__title {
  margin: 0;
  max-width: 980px;
  color: var(--vr-text);
  font-family: "Gilroy", var(--t-heading-font, Arial), Arial, sans-serif;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.vr-reviews__title-main,
.vr-reviews__title-muted {
  display: block;
}

.vr-reviews__title-main {
  color: #111111;
}

.vr-reviews__title-muted {
  color: #999999;
}

.vr-reviews__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  min-width: 230px;
  padding: 14px 17px;
  border: 1px solid var(--vr-soft-line);
  border-radius: 20px;
  background: #ffffff;
}

.vr-reviews__summary-score {
  grid-row: span 2;
  color: var(--vr-text);
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.vr-reviews__summary-stars {
  position: relative;
  display: inline-block;
  width: max-content;
  color: #dbe7f7;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.vr-reviews__summary-stars::before {
  content: "★★★★★";
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--vr-rating-percent, 100%);
  overflow: hidden;
  color: var(--vr-blue);
  white-space: nowrap;
}

.vr-reviews__summary-text {
  color: var(--vr-body);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
}

.vr-reviews__lead {
  max-width: 900px;
  margin: 0 0 32px;
  color: var(--vr-body);
  font-size: 18px;
  line-height: 1.58;
  font-weight: 500;
}

.vr-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vr-review {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 21px;
  border: 1px solid var(--vr-line);
  border-radius: 22px;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.vr-review:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 104, 228, 0.22);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.06);
}

.vr-review__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.vr-review__name {
  margin: 0;
  color: var(--vr-text);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.vr-review__source {
  margin: 5px 0 0;
  color: var(--vr-muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.vr-review__stars {
  flex: 0 0 auto;
  color: var(--vr-blue);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.vr-review__text {
  margin: 0;
  color: var(--vr-body);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 500;
}

.vr-review__tag {
  margin: auto 0 0;
  padding-top: 15px;
  color: var(--vr-blue);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
}

.vr-reviews__footer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.vr-reviews__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--vr-blue);
  border-radius: 999px;
  background: var(--vr-blue);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.vr-reviews__link:hover {
  transform: translateY(-1px);
  background: var(--vr-blue-dark);
  box-shadow: 0 14px 28px rgba(15, 104, 228, 0.18);
}

@media (max-width: 1599px) and (min-width: 981px) {
  .vr-reviews {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .vr-reviews__title {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -0.034em;
  }

  .vr-review {
    min-height: 395px;
  }
}

@media (max-width: 980px) {
  .vr-reviews {
    padding: 64px 18px;
  }

  .vr-reviews__wrap {
    width: 100%;
  }

  .vr-reviews__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .vr-reviews__title {
    font-size: 40px;
    line-height: 1.05;
  }

  .vr-reviews__summary {
    width: 100%;
    max-width: 340px;
  }

  .vr-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vr-reviews__lead {
    font-size: 17px;
  }

  .vr-review {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .vr-reviews {
    padding: 54px 14px;
  }

  .vr-reviews__title {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .vr-reviews__lead {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .vr-reviews__summary {
    max-width: none;
    border-radius: 18px;
  }

  .vr-reviews__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vr-review {
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }

  .vr-review__top {
    flex-direction: column;
    gap: 8px;
  }

  .vr-review__text {
    font-size: 16px;
    line-height: 1.55;
  }

  .vr-reviews__link {
    width: 100%;
  }
}


/* =========================================================
   Универсальный FAQ «Время Радоваться»
   Подключается один раз на всём сайте.
   ========================================================= */

.vr-faq,
.vr-faq * {
  box-sizing: border-box;
}

.vr-faq {
  --vr-blue: #0f68e4;
  --vr-blue-dark: #084cae;
  --vr-text: #111111;
  --vr-muted: #999999;
  --vr-body: #4f5868;
  --vr-line: rgba(17, 17, 17, 0.1);
  --vr-soft-line: rgba(15, 104, 228, 0.16);
  --vr-section-width: 1560px;
  --vr-section-fluid-width: calc(100vw - clamp(80px, 24vw, 360px));

  padding: 80px 20px;
  background: #ffffff;
  color: var(--vr-text);
  font-family: "Gilroy", var(--t-text-font, Arial), Arial, sans-serif;
}

.vr-faq__wrap {
  width: min(var(--vr-section-width), var(--vr-section-fluid-width));
  margin: 0 auto;
}

.vr-faq__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.vr-faq__title {
  margin: 0;
  max-width: 980px;
  color: var(--vr-text);
  font-family: "Gilroy", var(--t-heading-font, Arial), Arial, sans-serif;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.vr-faq__title-main,
.vr-faq__title-muted {
  display: block;
}

.vr-faq__title-main {
  color: #111111;
}

.vr-faq__title-muted {
  color: #999999;
}

.vr-faq__lead {
  margin: 0;
  color: var(--vr-body);
  font-size: 18px;
  line-height: 1.58;
  font-weight: 500;
}

.vr-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.vr-faq__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.vr-faq__item {
  align-self: stretch;
  border: 1px solid var(--vr-line);
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.vr-faq__item:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 104, 228, 0.22);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.045);
}

.vr-faq__item.is-open {
  border-color: var(--vr-soft-line);
}

.vr-faq__question {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.vr-faq__button {
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 28px;
  border: 0;
  background: transparent;
  color: var(--vr-text);
  font-family: "Gilroy", var(--t-heading-font, Arial), Arial, sans-serif;
  font-size: 19px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-align: left;
  cursor: pointer;
}

.vr-faq__button span:first-child {
  display: block;
  min-width: 0;
  padding-right: 10px;
}

.vr-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 104, 228, 0.18);
  border-radius: 999px;
  background: #ffffff;
}

.vr-faq__icon::before,
.vr-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--vr-blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.vr-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.vr-faq__button[aria-expanded="true"] .vr-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.vr-faq__answer {
  padding: 0 28px 24px;
}

.vr-faq__answer[hidden] {
  display: none !important;
}

.vr-faq__answer p {
  margin: 0;
  max-width: 720px;
  color: var(--vr-body);
  font-size: 17px;
  line-height: 1.58;
  font-weight: 500;
}

@media (max-width: 1599px) and (min-width: 981px) {
  .vr-faq {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .vr-faq__title {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -0.034em;
  }

  .vr-faq__button {
    height: 96px;
    font-size: 18px;
    padding: 20px 28px;
  }
}

@media (max-width: 980px) {
  .vr-faq {
    padding: 64px 18px;
  }

  .vr-faq__wrap {
    width: 100%;
  }

  .vr-faq__head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .vr-faq__title {
    font-size: 40px;
    line-height: 1.05;
  }

  .vr-faq__lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .vr-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .vr-faq__column {
    display: contents;
  }

  .vr-faq__item {
    order: var(--faq-order);
  }

  .vr-faq__item[data-faq-order="1"] {
    --faq-order: 1;
  }

  .vr-faq__item[data-faq-order="2"] {
    --faq-order: 2;
  }

  .vr-faq__item[data-faq-order="3"] {
    --faq-order: 3;
  }

  .vr-faq__item[data-faq-order="4"] {
    --faq-order: 4;
  }

  .vr-faq__item[data-faq-order="5"] {
    --faq-order: 5;
  }

  .vr-faq__item[data-faq-order="6"] {
    --faq-order: 6;
  }

  .vr-faq__item[data-faq-order="7"] {
    --faq-order: 7;
  }

  .vr-faq__item[data-faq-order="8"] {
    --faq-order: 8;
  }

  .vr-faq__button {
    height: auto;
    min-height: 76px;
    font-size: 18px;
    padding: 20px 22px;
  }

  .vr-faq__answer {
    padding: 0 22px 22px;
  }

  .vr-faq__answer p {
    font-size: 16px;
    line-height: 1.55;
  }
}

@media (max-width: 640px) {
  .vr-faq {
    padding: 54px 14px;
  }

  .vr-faq__title {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .vr-faq__lead {
    font-size: 16px;
  }

  .vr-faq__button {
    min-height: 68px;
    padding: 18px;
    font-size: 17px;
    font-weight: 600;
  }

  .vr-faq__answer {
    padding: 0 18px 18px;
  }

  .vr-faq__answer p {
    font-size: 16px;
    font-weight: 500;
  }

  .vr-faq__icon {
    width: 32px;
    height: 32px;
  }
}