/* Страница отзывов (/reviews): шапка с фото, вкладки и сортировка, сетка карточек
   с правой колонкой, догрузка «Показать больше отзывов», призыв и полоса преимуществ.
   Форма отзыва — в модальном окне. */

.rv-page {
  /* Цвет выделения — общий зелёный сайта. */
  --rv-green: var(--green-700);
  --rv-green-2: var(--green-600);
  --rv-star: #f5a623;
  padding-bottom: 17px;
}

/* Ширина как у остальных блоков сайта (партнёрский баннер, блок чата): вся .shell минус поля 56px.
   Раньше здесь было max-width: 1200px, и лента отзывов выглядела уже соседних секций. */
.rv-wrap {
  margin: 0 auto;
  padding: 0 56px;
}

.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}

.rv-btn :is(i, svg) { width: 17px; height: 17px; flex: none; }

.rv-btn--primary { background: var(--rv-green); color: #fff; border: 0; }
.rv-btn--primary:hover { background: var(--rv-green-2); }

.rv-btn--outline { border: 1.5px solid var(--rv-green); color: var(--rv-green); background: #fff; }

/* ——— шапка ———
   Повторяет шапку блога (components/blog.css, .blog-page__hero-grid): текст слева,
   фото справа до края экрана со скруглением и затуханием в фон страницы.
   Левый край текста совпадает с .rv-wrap: отступ сетки считается от ширины секции. */
.rv-hero {
  overflow: hidden;
}

.rv-hero .breadcrumbs { padding: 14px 0 10px; font-size: 13px; }

.rv-hero__grid {
  display: grid;
  /* Фото чуть уже, чем у блога (65%): в текстовой колонке ещё и факты. */
  grid-template-columns: minmax(0, 1fr) minmax(300px, 60%);
  grid-template-areas: "hero media";
  align-items: stretch;
  min-height: 400px;
  padding-left: max(24px, calc((100% - 1425px) / 2 + 56px));
}

.rv-hero__inner {
  grid-area: hero;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 44px 36px;
  padding-right: 24px;
}

.rv-hero__media {
  grid-area: media;
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
}

.rv-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--page) 0%,
    rgba(250, 249, 247, .92) 10%,
    rgba(250, 249, 247, .45) 22%,
    rgba(250, 249, 247, 0) 38%
  );
  pointer-events: none;
}

.rv-hero__media picture,
.rv-hero__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Памятник с портретом — в правой части кадра, берёзы слева уходят под затухание.
     По вертикали держим верх: на узком экране кадр режется сверху и снизу, портрет не должен. */
  object-position: 72% 20%;
}

.rv-hero__title {
  margin: 0 0 12px;
  font-family: 'Lora', Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.04;
  color: var(--ink);
}

.rv-hero__lead {
  max-width: 560px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* Факты — сразу под подзаголовком. В колонке рядом с фото четыре в строку не помещаются,
   поэтому 2×2; когда шапка складывается в одну колонку, встают в одну строку. */
.rv-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rv-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rv-fact__ico,
.rv-trust__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 50%;
}

.rv-fact__ico {
  width: 40px;
  height: 40px;
  background: var(--rv-green);
  color: #fff;
}

.rv-fact__ico :is(i, svg) { width: 18px; height: 18px; }

.rv-fact b,
.rv-trust b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.rv-fact small,
.rv-trust small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* ——— вкладки и сортировка ——— */
.rv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 22px;
}

.rv-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rv-tabs::-webkit-scrollbar { display: none; }

.rv-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ebece8;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .15s;
}

.rv-tab:hover { background: #e2e4df; }

.rv-tab span {
  min-width: 26px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}

.rv-tab.is-active { background: var(--rv-green); color: #fff; }
.rv-tab.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }

.rv-sort {
  position: relative;
  flex: none;
}

.rv-sort summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 170px;
  min-height: 40px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}

.rv-sort summary::-webkit-details-marker { display: none; }

.rv-sort summary svg,
.rv-more__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .15s;
}

.rv-sort[open] summary svg { transform: rotate(180deg); }

.rv-sort ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 24, 26, .12);
  list-style: none;
}

.rv-sort a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.rv-sort a:hover { background: var(--line-2); }
.rv-sort a.is-active { font-weight: 700; color: var(--rv-green); }

/* ——— основная сетка ——— */
/* Четыре колонки одной ширины: три с отзывами и правая. Лента занимает первые три,
   поэтому её сетка и внешняя сетка идут с одинаковым шагом. */
.rv-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.rv-main { grid-column: span 3; }

.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rv-empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

/* ——— карточка ——— */
.rv-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 24, 26, .04);
  animation: rv-card-in .35s ease both;
}

@keyframes rv-card-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.rv-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  background: #dfe2dd;
}

button.rv-card__media { cursor: pointer; }

.rv-card__media picture,
.rv-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

button.rv-card__media:hover img { transform: scale(1.04); }

.rv-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(31, 107, 54, .9);
  color: #fff;
  transform: translate(-50%, -50%);
  transition: transform .15s, background-color .15s;
}

.rv-card__play svg { width: 20px; height: 20px; margin-left: 3px; }

button.rv-card__media:hover .rv-card__play {
  background: var(--rv-green);
  transform: translate(-50%, -50%) scale(1.08);
}

.rv-card__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 20, 18, .72);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.rv-card__badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.rv-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 16px;
}

.rv-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.rv-card__name {
  min-width: 0;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rv-card__date {
  flex: none;
  font-size: 11.5px;
  color: var(--muted);
}

.rv-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 10px;
}

.rv-card__work {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  color: var(--ink-3);
}

.rv-card__work svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: var(--rv-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Название работы длинное («Установка мемориального комплекса для женщины») — даём две строки. */
.rv-card__work span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}

.rv-card__stars {
  display: inline-flex;
  flex: none;
  gap: 1px;
  padding-top: 1px;
}

.rv-card__stars svg {
  width: 13px;
  height: 13px;
  fill: #dcdfdb;
}

.rv-card__stars svg.is-on { fill: var(--rv-star); }

/* Половина звезды: серый контур целиком, поверх — закрашенная левая половина. */
.rv-star-half { fill: var(--rv-star); }

.rv-card__text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Текстовый отзыв без обложки: крупная кавычка и больше строк текста. */
.rv-card--text .rv-card__body { padding-top: 18px; }

.rv-card--text .rv-card__body::before {
  content: "“";
  display: block;
  height: 34px;
  margin-bottom: 6px;
  font-family: 'Lora', Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: #c9d3cb;
}

.rv-card--text .rv-card__text {
  -webkit-line-clamp: 9;
  font-size: 14px;
}

/* Длинный отзыв раскрывается по клику: карточка становится выше, и текст виден целиком.
   Кнопку и класс is-clipped ставит site.js — только тем карточкам, где текст реально обрезан. */
.rv-card--text.is-clipped { cursor: pointer; }

.rv-card--text.is-open .rv-card__text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: none;
}

.rv-card__more-text {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--rv-green);
  cursor: pointer;
}

.rv-card__more-text:hover { color: var(--rv-green-2); }

/* ——— показать больше ——— */
.rv-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.rv-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 1.5px solid var(--rv-green);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--rv-green);
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

.rv-more__btn:hover { background: var(--rv-green); color: #fff; }

.rv-more__btn.is-loading {
  pointer-events: none;
  opacity: .6;
}

.rv-more__btn.is-loading svg { animation: rv-bounce .8s ease-in-out infinite; }

@keyframes rv-bounce {
  50% { transform: translateY(3px); }
}

/* ——— правая колонка ——— */
.rv-side {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  display: grid;
  gap: 18px;
}

.rv-score {
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.rv-score__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.rv-score__value {
  margin: 6px 0 4px;
  font-family: 'Lora', Georgia, serif;
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.rv-score__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.rv-score__stars svg { width: 24px; height: 24px; fill: #dcdfdb; }
.rv-score__stars svg.is-on { fill: var(--rv-star); }

.rv-score__based {
  margin: 12px 0 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

.rv-score__based b { color: var(--ink); }

.rv-score .rv-btn { width: 100%; }

.rv-score__note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.rv-founder {
  position: relative;
  /* Цитата сверху во всю ширину, снизу — подпись слева и фото справа. Так фото остаётся целым
     (без обрезки по бокам) и крупным: при полной высоте карточки портрет 4:5 занял бы две трети
     ширины и налез бы на текст. */
  display: grid;
  /* Фото — фиксированная ширина, текст занимает остаток. Иначе колонка текста не сжималась
     уже самого длинного слова и не отдавала фото ширину. */
  grid-template-columns: minmax(0, 1fr) 202px;
  grid-template-areas:
    "mark  photo"
    "quote photo"
    "who   photo";
  grid-template-rows: auto auto 1fr;
  /* Фото подходит к тексту почти вплотную — иначе крупный портрет не помещается. */
  column-gap: 2px;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  /* Справа поля нет: фото стоит вплотную к краю карточки, без обрезки. */
  padding: 18px 0 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #f6f5f1 0%, #ebeae5 100%);
}

.rv-founder__quote-mark {
  position: relative;
  z-index: 1;
  grid-area: mark;
  justify-self: start;
  width: 30px;
  height: 22px;
  fill: #b9c0ba;
}

.rv-founder__text {
  grid-area: quote;
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-family: 'Lora', Georgia, serif;
  /* Узкая колонка рядом с крупным фото: мелкий кегль и переносы по слогам. */
  font-size: 13px;
  line-height: 1.5;
  hyphens: auto;
  overflow-wrap: break-word;
  color: var(--ink);
}

.rv-founder__who {
  grid-area: who;
  position: relative;
  z-index: 1;
  padding-top: 14px;
}

.rv-founder__who b {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.rv-founder__who span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
}

/* Фото прижато к правому краю карточки и стоит почти во всю её высоту.
   Ширина считается от высоты — пропорции не искажаются. */
.rv-founder__photo {
  align-self: end;
  position: absolute;
  justify-self: end;
  width: 219px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: bottom right;
  margin: 0 0 -18px 0;
}

.rv-blog {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6f5f1;
  text-decoration: none;
  color: inherit;
}

.rv-blog__img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.rv-blog__body {
  display: block;
  padding: 4px 18px 20px;
}

.rv-blog__title {
  display: block;
  margin-bottom: 14px;
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.rv-blog:hover .rv-btn--outline { background: var(--rv-green); color: #fff; }

/* ——— призыв ——— */
.rv-cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  overflow: hidden;
  padding: 26px 40px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, .07) 0 90px, transparent 91px),
    radial-gradient(circle at 96% 110%, rgba(255, 255, 255, .06) 0 120px, transparent 121px),
    linear-gradient(120deg, #185a2d 0%, var(--rv-green) 55%, var(--green-600) 100%);
  color: #fff;
}

.rv-cta__title h2 {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.rv-cta__title p {
  margin: 4px 0 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 19px;
  color: rgba(255, 255, 255, .88);
}

.rv-cta__text {
  margin: 0;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

.rv-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--rv-green);
  text-decoration: none;
  white-space: nowrap;
}

.rv-cta__btn :is(i, svg) { width: 18px; height: 18px; }
.rv-cta__btn:hover { background: #eef5ea; }

/* ——— преимущества ——— */
.rv-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.rv-trust li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rv-trust__ico {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--rv-green);
  color: var(--rv-green);
}

.rv-trust__ico :is(i, svg) { width: 22px; height: 22px; }

/* ——— уведомления ——— */
.rv-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.rv-note--ok { background: rgba(31, 107, 54, .08); color: var(--green-700); }
.rv-note--err { background: rgba(179, 38, 30, .08); color: #b3261e; }
.rv-note :is(i, svg) { width: 18px; height: 18px; flex: none; }

/* ——— окно с формой ——— */
.rv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rv-modal.is-open,
.rv-modal:target { display: flex; }

.rv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, .55);
}

.rv-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.rv-modal__dialog h2 {
  margin: 0 0 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

.rv-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line-2);
  color: var(--ink-2);
}

.rv-modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.rv-form__note {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

.rv-form {
  display: grid;
  gap: 16px;
}

.rv-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.rv-field {
  display: grid;
  gap: 6px;
}

.rv-field > span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.rv-field :is(input[type="text"], textarea) {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

.rv-field textarea {
  min-height: 130px;
  max-height: 340px;
  resize: vertical;
  line-height: 1.55;
}

.rv-field :is(input, textarea):focus {
  outline: none;
  border-color: rgba(31, 107, 54, .45);
  box-shadow: 0 0 0 3px rgba(31, 107, 54, .12);
}

/* Оценка: обычные радиокнопки, просто оформленные — работают и без скрипта. */
.rv-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-rating__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.rv-rating__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rv-rating__item svg { width: 15px; height: 15px; fill: #d8dcda; }

.rv-rating__item:has(input:checked) {
  border-color: var(--green-700);
  background: rgba(31, 107, 54, .08);
}

.rv-rating__item:has(input:checked) svg { fill: var(--rv-star); }

.rv-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rv-form__submit { justify-self: start; min-height: 48px; padding: 0 24px; font-size: 15px; }

/* ——— адаптив ——— */

/* Пояснение под названием поля: зачем нам телефон или почта (владелец, 2026-10-02). */
.rv-field__hint { margin-top: -2px; font-size: 12.5px; line-height: 1.4; font-weight: 400; color: var(--muted); }

/* Ссылки отзыва на отчёт о работе и страницу услуги (перелинковка, LINKING_PLAN.md) */
.rv-card__links { display: flex; flex-wrap: wrap; gap: 6px 14px; flex-basis: 100%; }
.rv-card__link { font-size: 13.5px; font-weight: 700; color: var(--green-700); text-decoration: none; }
.rv-card__link:hover { text-decoration: underline; }

/* Мета-строка карточки: ссылки «Смотреть работу → / услуга» задуманы отдельной строкой (flex-basis: 100%),
   но ряд не переносился — выходило три колонки и «Ремонт стандартн…». Работа + звёзды сверху, ссылки ниже. */
.rv-card__meta { flex-wrap: wrap; row-gap: 6px; }
.rv-card__meta .rv-card__work { flex: 1 1 0; }
.rv-card__meta .rv-card__links { order: 2; }
