/* ==========================================================
   Reviews page (tv-rev__*) — uses tokens, .tv-wrap, .tv-btn, .tv-eyebrow, .tv-title from main.css
   ========================================================== */

/* ---------- hero ---------- */
.tv-rev__hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    linear-gradient(100deg, rgba(8, 39, 83, .96) 0%, rgba(80, 4, 214, .9) 55%, rgba(95, 5, 255, .8) 100%),
    var(--tv-head);
  overflow: hidden;
}
.tv-rev__hero::before {
  content: "";
  position: absolute;
  right: -120px; bottom: -170px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--tv-yellow);
  opacity: .9;
}
.tv-rev__hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 60px;
  align-items: center;
}
.tv-rev__hero-in > * { min-width: 0; }

.tv-rev__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
}
.tv-rev__crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); transition: color .3s ease, text-decoration-color .3s ease; }
.tv-rev__crumbs a:hover,
.tv-rev__crumbs a:focus-visible { color: var(--tv-yellow); text-decoration-color: var(--tv-yellow); }
.tv-rev__crumbs-sep { opacity: .6; }

.tv-rev__eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(24, 0, 96, .72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #fff;
}
.tv-rev__h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.22;
  text-transform: uppercase;
  color: #fff;
}
.tv-rev__h1 span { display: block; color: var(--tv-yellow); }
.tv-rev__lead {
  max-width: 660px;
  margin: 0;
  font-size: 17.5px;
  line-height: 1.65;
  color: #fff;
}

/* rating summary card */
.tv-rev__score {
  padding: 34px 34px 30px;
  border-radius: var(--radius-2);
  border-top: 4px solid var(--tv-yellow);
  background: #fff;
  box-shadow: 0 24px 60px rgba(8, 0, 60, .35);
}
.tv-rev__score-main { padding-bottom: 22px; border-bottom: 1px solid var(--tv-line); text-align: center; }
.tv-rev__score-num {
  display: block;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  color: var(--tv-head);
  font-variant-numeric: lining-nums;
}
.tv-rev__score-num sup { margin-left: 4px; font-size: 24px; font-weight: 500; color: var(--tv-purple); vertical-align: top; position: relative; top: 6px; }
.tv-rev__score-stars { display: block; margin: 12px 0 8px; font-size: 24px; letter-spacing: 4px; line-height: 1; color: var(--tv-yellow); }
.tv-rev__score-note { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--tv-text); }
.tv-rev__facts { margin: 0; padding: 18px 0 0; list-style: none; }
.tv-rev__facts li { position: relative; padding: 6px 0 6px 36px; font-size: 15.5px; line-height: 1.5; color: var(--tv-text); }
.tv-rev__facts li > img { position: absolute; left: 0; top: 7px; width: 22px; height: 22px; }
.tv-rev__facts b { font-weight: 700; color: var(--tv-head); }

/* ---------- list ---------- */
.tv-rev__main { padding: 70px 0 90px; background: #fff; }
.tv-rev__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tv-rev__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 28px 26px;
  border: 1px solid var(--tv-line);
  border-radius: var(--radius-2);
  background: #fff;
  box-shadow: var(--tv-shadow-card);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tv-rev__item:hover { transform: translateY(-5px); border-color: var(--tv-purple); box-shadow: 0 24px 56px rgba(95, 5, 255, .18); }
.tv-rev__item-q { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; opacity: .9; }
.tv-rev__item-top { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding-right: 48px; }
.tv-rev__item-ava {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--tv-purple);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.tv-rev__item-who { min-width: 0; }
.tv-rev__item-name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--tv-head); overflow-wrap: anywhere; }
.tv-rev__item-stars { display: block; margin-top: 3px; font-size: 17px; letter-spacing: 2px; line-height: 1.2; color: var(--tv-yellow); }
.tv-rev__item-svc {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--tv-soft);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tv-head);
}
.tv-rev__item-svc > img { flex: 0 0 auto; width: 14px; height: 14px; }
.tv-rev__item-text { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--tv-text); overflow-wrap: anywhere; }

/* ---------- pagination ---------- */
.tv-rev__pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 50px; }
.tv-rev__pager-nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.tv-rev__pager-num,
.tv-rev__pager-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px; height: 46px;
  padding: 0 10px;
  border: 2px solid var(--tv-line);
  border-radius: var(--radius-2);
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-head);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.tv-rev__pager-dots { border-color: transparent; }
a.tv-rev__pager-num:hover,
a.tv-rev__pager-num:focus-visible { border-color: var(--tv-purple); background: var(--tv-purple); color: #fff; }
.tv-rev__pager-num--on { border-color: var(--tv-purple); background: var(--tv-purple); color: #fff; }
.tv-rev__pager-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid var(--tv-purple);
  border-radius: var(--radius-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--tv-purple);
  transition: background-color .3s ease, color .3s ease;
}
.tv-rev__pager-btn > img { width: 16px; height: 16px; transition: filter .3s ease; }
.tv-rev__pager-btn--prev > img { transform: rotate(180deg); }
.tv-rev__pager-btn:hover,
.tv-rev__pager-btn:focus-visible { background: var(--tv-purple); color: #fff; }
.tv-rev__pager-btn:hover > img,
.tv-rev__pager-btn:focus-visible > img { filter: brightness(0) invert(1); }

/* ---------- form ---------- */
.tv-rev__formsec { padding: 90px 0; background: var(--tv-soft); }
.tv-rev__formgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.tv-rev__formgrid > * { min-width: 0; }
.tv-rev__formtxt p { margin: 0 0 22px; }
.tv-rev__tips { margin: 0; padding: 0; list-style: none; }
.tv-rev__tips li { position: relative; padding: 0 0 12px 30px; font-size: 16px; line-height: 1.55; color: var(--tv-text); }
.tv-rev__tips li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--tv-yellow);
}
.tv-rev__formbox {
  padding: 40px 40px 36px;
  border-top: 4px solid var(--tv-purple);
  border-radius: var(--radius-2);
  background: #fff;
  box-shadow: 0 20px 60px rgba(95, 5, 255, .12), var(--tv-shadow-card);
}
.tv-rev__form input[type="text"],
.tv-rev__form textarea {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--tv-line);
  border-radius: var(--radius-1);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--tv-ink);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.tv-rev__form textarea { min-height: 140px; resize: vertical; }
.tv-rev__form input[type="text"]:focus,
.tv-rev__form textarea:focus { border-color: var(--tv-purple); box-shadow: 0 0 0 3px rgba(95, 5, 255, .15); outline: none; }
.tv-rev__form .jqr_error-message { margin: -8px 0 12px; font-size: 14px; line-height: 1.4; color: #c62828; }
.tv-rev__rate { display: block; margin: 4px 0 14px; }
.tv-rev__rate-lbl { display: block; margin-bottom: 8px; font-size: 15.5px; font-weight: 600; color: var(--tv-head); }
.tv-rev__form .jqr_star-rating { font-size: 28px; line-height: 1; cursor: pointer; }
.tv-rev__form .jqr_star-rating i { margin-right: 4px; }
.tv-rev__form .text-warning { color: var(--tv-yellow); }
.tv-rev__form #jqr_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 38px;
  border: 2px solid var(--tv-purple);
  border-radius: var(--radius-2);
  background: var(--tv-purple);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.tv-rev__form #jqr_submit:hover,
.tv-rev__form #jqr_submit:focus-visible { background: var(--tv-head); border-color: var(--tv-head); box-shadow: 0 12px 30px rgba(95, 5, 255, .3); transform: translateY(-2px); }

/* ---------- call to action (light) ---------- */
.tv-rev__cta { padding: 80px 0; background: #fff; }
.tv-rev__cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px 50px;
  padding: 40px 48px;
  border: 1px solid var(--tv-line);
  border-left: 6px solid var(--tv-yellow);
  border-radius: var(--radius-2);
  background: #fff;
  box-shadow: var(--tv-shadow-card);
}
.tv-rev__cta-txt { flex: 1 1 480px; min-width: 0; }
.tv-rev__cta-h { margin: 0 0 10px; font-size: 28px; line-height: 1.3; color: var(--tv-head); }
.tv-rev__cta-txt p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--tv-text); }
.tv-rev__cta-btns { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .tv-rev__hero-in { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .tv-rev__h1 { font-size: 36px; }
  .tv-rev__list { gap: 18px; }
  .tv-rev__item { padding: 28px 22px 24px; }
  .tv-rev__formgrid { gap: 44px; }
  .tv-rev__formbox { padding: 34px 30px 30px; }
}
@media (max-width: 1024px) {
  .tv-rev__hero { padding: 48px 0 56px; }
  .tv-rev__hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tv-rev__score { max-width: 460px; }
  .tv-rev__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-rev__main { padding: 56px 0 70px; }
  .tv-rev__formsec { padding: 70px 0; }
  .tv-rev__formgrid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tv-rev__cta { padding: 60px 0; }
}
@media (max-width: 768px) {
  .tv-rev__hero { padding: 40px 0 48px; }
  .tv-rev__h1 { font-size: 30px; }
  .tv-rev__lead { font-size: 16.5px; }
  .tv-rev__list { grid-template-columns: minmax(0, 1fr); }
  .tv-rev__pager { margin-top: 36px; }
  .tv-rev__cta-in { flex-direction: column; align-items: stretch; padding: 32px 28px; }
  .tv-rev__cta-txt,
  .tv-rev__cta-btns { flex: 0 1 auto; }
  .tv-rev__cta-h { font-size: 24px; }
}
@media (max-width: 480px) {
  .tv-rev__hero { padding: 40px 0 44px; }
  .tv-rev__hero::before { width: 200px; height: 200px; right: -90px; bottom: -110px; }
  .tv-rev__crumbs { margin-bottom: 20px; }
  .tv-rev__h1 { font-size: 26px; }
  .tv-rev__lead { font-size: 15.5px; }
  .tv-rev__score { max-width: none; padding: 26px 22px 24px; }
  .tv-rev__score-num { font-size: 56px; }
  .tv-rev__main { padding: 44px 0 56px; }
  .tv-rev__item { padding: 26px 20px 22px; }
  .tv-rev__item-text { font-size: 15px; }
  .tv-rev__pager-btn { padding: 0 14px; }
  .tv-rev__pager-btn > span { font-size: 13px; }
  .tv-rev__pager-num,
  .tv-rev__pager-dots { min-width: 40px; height: 40px; font-size: 15px; }
  .tv-rev__formsec { padding: 52px 0; }
  .tv-rev__formbox { padding: 28px 20px 24px; }
  .tv-rev__form #jqr_submit { width: 100%; }
  .tv-rev__cta { padding: 48px 0; }
  .tv-rev__cta-in { padding: 28px 20px; border-left-width: 4px; }
  .tv-rev__cta-h { font-size: 22px; }
  .tv-rev__cta-btns { flex-direction: column; }
  .tv-rev__cta-btns .tv-btn { width: 100%; }
}
@media (max-width: 375px) {
  .tv-rev__h1 { font-size: 24px; }
  .tv-rev__score-num { font-size: 50px; }
  .tv-rev__item { padding: 24px 16px 20px; }
  .tv-rev__item-q { right: 16px; width: 34px; height: 34px; }
  .tv-rev__item-top { padding-right: 40px; }
  .tv-rev__formbox { padding: 24px 16px 20px; }
  .tv-rev__cta-in { padding: 24px 16px; }
}
