/* FAQ (v1-faq), pros-cons (v1-features), отзывы (v1-rating-review) */

/* ---------- FAQ: аккордеон карточками ---------- */

html body .v1-faq__list {
  display: grid;
  gap: var(--sa-s-2);
}

html body .v1-faq__list-item {
  background: var(--sa-card);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-md);
  overflow: hidden;
  transition: border-color var(--sa-mid) var(--sa-ease), background-color var(--sa-mid) var(--sa-ease);
}

html body .v1-faq__list-item:hover { border-color: var(--sa-line-strong); }

html body .v1-faq__list-item[open] {
  background: var(--sa-surface);
  border-color: rgba(45, 224, 28, 0.28);
}

html body .v1-faq__list-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sa-s-2);
  min-height: 56px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

html body .v1-faq__list-item > summary::-webkit-details-marker { display: none; }

html body .v1-faq__list-item__question {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--sa-text);
  line-height: 1.45;
}

/* индикатор «плюс/минус» рисуем сами: без эмодзи и без картинок */
html body .v1-faq__list-item > summary::after {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: var(--sa-r-sm);
  background:
    linear-gradient(var(--sa-accent), var(--sa-accent)) center / 11px 2px no-repeat,
    linear-gradient(var(--sa-accent), var(--sa-accent)) center / 2px 11px no-repeat,
    var(--sa-accent-soft);
  transition: transform var(--sa-mid) var(--sa-ease), background-size var(--sa-mid) var(--sa-ease);
}

html body .v1-faq__list-item[open] > summary::after {
  transform: rotate(180deg);
  background:
    linear-gradient(var(--sa-accent), var(--sa-accent)) center / 11px 2px no-repeat,
    linear-gradient(var(--sa-accent), var(--sa-accent)) center / 0 11px no-repeat,
    var(--sa-accent-soft);
}

html body .v1-faq__list-item > .text-block {
  padding: 0 18px 16px;
  color: var(--sa-text-muted);
  border-top: 1px solid var(--sa-line);
  padding-top: 14px;
}

/* ---------- pros & cons: две колонки с тонированным фоном ---------- */

html body .v1-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sa-s-3);
}

html body .v1-features__pros,
html body .v1-features__cons {
  padding: var(--sa-s-3) var(--sa-s-4) var(--sa-s-4);
  border-radius: var(--sa-r-lg);
  border: 1px solid var(--sa-line);
}

html body .v1-features__pros {
  background: linear-gradient(180deg, rgba(45, 224, 28, 0.08) 0%, rgba(33, 53, 69, 0.6) 55%);
  border-color: rgba(45, 224, 28, 0.25);
}

html body .v1-features__cons {
  background: linear-gradient(180deg, rgba(229, 72, 77, 0.08) 0%, rgba(33, 53, 69, 0.6) 55%);
  border-color: rgba(229, 72, 77, 0.22);
}

html body .v1-features__pros-header,
html body .v1-features__cons-header {
  margin: 0 0 var(--sa-s-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html body .v1-features__pros-header { color: var(--sa-accent); }
html body .v1-features__cons-header { color: #FF8A8E; }

html body .v1-features__pros-list,
html body .v1-features__cons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

html body .v1-features__pros-list__item,
html body .v1-features__cons-list__item {
  position: relative;
  padding-left: 30px;
  color: var(--sa-text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* галочка и крестик - инлайновый SVG в маске, один стиль обводки */
html body .v1-features__pros-list__item::before,
html body .v1-features__cons-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

html body .v1-features__pros-list__item::before {
  background-color: var(--sa-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DE01C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

html body .v1-features__cons-list__item::before {
  background-color: rgba(229, 72, 77, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A8E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* ---------- отзывы ---------- */

html body .v1-rating-review__card {
  background: var(--sa-card);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-r-md);
  padding: var(--sa-s-3);
  transition: border-color var(--sa-mid) var(--sa-ease), transform var(--sa-mid) var(--sa-ease);
}

html body .v1-rating-review__card:hover {
  border-color: var(--sa-line-strong);
  transform: translateY(-2px);
}

html body .v1-rating-review__card-heading {
  color: var(--sa-text);
  font-weight: 600;
}

html body .v1-rating-review__card-info { color: var(--sa-text-dim); font-size: 13px; }

html body .v1-rating-review__progress-line {
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--sa-r-pill);
  overflow: hidden;
}

html body .v1-rating-review__progress-item { color: var(--sa-text-muted); font-size: 14px; }

html body .icon-star { color: var(--sa-star); }

html body .v1-rating__value,
html body .rating-block__numb {
  color: var(--sa-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  html body .v1-rating-review__card:hover { transform: none; }
}

/* колонки pros/cons тянутся на всю ширину сетки: у темы на них свои ширины */
html body .v1-features__pros,
html body .v1-features__cons {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}
