/* Система отзывов stopudiv.ua — публичная страница (префикс rvf-, самодостаточно)
   Палитра — фирменная красно-белая (#c02222). */
.rvf{width:100%;max-width:880px;margin:0 auto;box-sizing:border-box;
  font-family:inherit;color:#2c2c2c}
.rvf *,.rvf *::before,.rvf *::after{box-sizing:border-box}
.rvf .rvf-head h2{margin:0 0 24px;font-size:28px;line-height:1.2}
.rvf-list{margin-bottom:42px}

/* карточка отзыва */
.rvf-item{display:block;background:#fff;border:1px solid #ececec;border-radius:16px;
  padding:22px 26px;margin:0 0 18px;box-shadow:0 3px 14px rgba(0,0,0,.05)}
.rvf-item-head{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.rvf-ava{flex:0 0 auto;width:46px;height:46px;border-radius:50%;
  background:linear-gradient(135deg,#d6392b,#a01c1c);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.rvf-who{display:flex;flex-direction:column;gap:2px;min-width:0}
.rvf-name{font-weight:700;font-size:17px;color:#1f1f1f;line-height:1.2}
.rvf-date{color:#9b9b9b;font-size:13px;line-height:1.2}
.rvf-subject{margin:10px 0 0;font-weight:600;color:#c02222;font-size:15px}
.rvf-text{margin-top:10px;line-height:1.65;color:#3b3b3b;font-size:15px;
  white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}

/* ответ компании — вложенный */
.rvf-reply{margin:18px 0 2px;margin-left:60px;padding:16px 20px;
  background:#fdf3f3;border:1px solid #f0d4d4;border-left:4px solid #c02222;border-radius:0 14px 14px 0}
.rvf-reply-head{display:flex;align-items:center;justify-content:space-between;gap:10px;
  flex-wrap:wrap;margin-bottom:8px}
.rvf-reply-badge{display:inline-flex;align-items:center;font-size:12px;font-weight:700;
  letter-spacing:.02em;color:#fff;background:#c02222;padding:5px 13px;border-radius:30px}
.rvf-reply .rvf-text{margin-top:0;color:#5a2424}

.rvf-empty{text-align:center;color:#9a9a9a;padding:40px 0;font-size:16px}

/* форма */
.rvf-formwrap{background:#fafbfa;border:1px solid #e8e8e8;border-radius:18px;padding:30px;
  scroll-margin-top:90px}
.rvf-formtitle{font-size:22px;font-weight:700;margin:0 0 6px;color:#1f1f1f}
.rvf-form{margin-top:18px}
.rvf-grid{display:flex;gap:18px;flex-wrap:wrap}
.rvf-grid .rvf-field{flex:1 1 240px}
.rvf-field{margin-bottom:18px}
.rvf-label{display:block;font-size:14px;font-weight:600;color:#444;margin-bottom:7px}
.rvf-req{color:#c02222}
.rvf-input{display:block;width:100%;padding:13px 15px;border:1px solid #d7d7d7;border-radius:11px;
  font-size:15px;font-family:inherit;color:#222;background:#fff;line-height:1.4;
  transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.rvf-input::placeholder{color:#a0a0a0;opacity:1}
.rvf-input:focus{outline:none;border-color:#c02222;box-shadow:0 0 0 3px rgba(192,34,34,.15)}
.rvf-textarea{min-height:140px;resize:vertical}
.rvf-btn{display:inline-block;margin-top:4px;background:#c02222;color:#fff;border:0;border-radius:11px;
  padding:14px 40px;font-size:16px;font-weight:600;cursor:pointer;transition:background .15s}
.rvf-btn:hover{background:#a01c1c;color:#fff}

/* honeypot — невидимое поле-ловушка */
.rvf-hp{position:absolute!important;left:-9999px!important;top:-9999px!important;
  width:1px;height:1px;overflow:hidden;opacity:0}

/* флеши */
.rvf-ok{background:#fdf3f3;border:1px solid #e6b8b8;color:#8c1d1d;
  padding:15px 18px;border-radius:12px;margin:14px 0 4px;font-weight:500}
.rvf-err{color:#c02222;font-size:13px;margin-top:6px}

@media (max-width:640px){
  .rvf-item,.rvf-formwrap{padding:18px}
  .rvf-reply{margin-left:16px;padding:14px}
  .rvf .rvf-head h2{font-size:23px}
  .rvf-grid{gap:0}
}
