
:root{
  --rrv-red:#ef2f33;
  --rrv-deep:#9e0615;
  --rrv-navy:#071a36;
  --rrv-navy2:#12365d;
  --rrv-copy:#4a5871;
  --rrv-soft:#f5f8fc;
  --rrv-line:#dce5ef;
}
.th-rrv{background:#fff}
.th-rrv-hero{
  position:relative;
  overflow:hidden;
}
.th-rrv-hero:after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  right:-210px;
  top:-170px;
  box-shadow:0 0 0 55px rgba(255,255,255,.03),0 0 0 110px rgba(255,255,255,.025);
}
.th-rrv-kicker{
  display:inline-flex;
  margin-bottom:18px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.36);
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.th-rrv-hero-actions{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:10px;
}
.th-rrv-hero-link{
  color:#fff!important;
  font-weight:800;
  text-decoration:none!important;
}
.th-rrv-hero-link:hover{text-decoration:underline!important}
.th-rrv-hero-card{z-index:1}
.th-rrv-card-label{
  display:inline-flex;
  margin-bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff1f2;
  color:var(--rrv-red);
  font-size:12px;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.th-rrv-hero-card>p{
  margin:0 0 18px;
  color:var(--rrv-copy);
  font-size:15px;
  line-height:1.65;
}
.th-rrv-hero-facts{
  display:grid;
  gap:10px;
}
.th-rrv-hero-facts>div{
  display:grid;
  grid-template-columns:54px 1fr auto;
  align-items:center;
  gap:12px;
  padding:13px 0;
  border-top:1px solid #edf0f4;
}
.th-rrv-hero-facts strong{
  display:grid;
  place-items:center;
  width:48px;
  height:42px;
  border-radius:12px;
  background:var(--rrv-navy);
  color:#fff;
  font-size:13px;
}
.th-rrv-hero-facts span{
  color:#344054;
  font-size:13px;
  font-weight:750;
}
.th-rrv-hero-facts b{
  color:var(--rrv-red);
  font-size:13px;
  text-align:right;
}
.th-rrv-hero-note{
  margin-top:18px;
  padding:15px 16px;
  border-left:4px solid var(--rrv-red);
  border-radius:14px;
  background:#f3f7fb;
  color:#43536d;
  font-size:13px;
  line-height:1.58;
}
.th-rrv-jump{
  position:relative;
  z-index:4;
  border-bottom:1px solid var(--rrv-line);
  background:#fff;
}
.th-rrv-jump .th-pv-wrap{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:15px 0;
  scrollbar-width:none;
}
.th-rrv-jump .th-pv-wrap::-webkit-scrollbar{display:none}
.th-rrv-jump a{
  flex:0 0 auto;
  padding:9px 13px;
  border:1px solid var(--rrv-line);
  border-radius:999px;
  color:var(--rrv-navy)!important;
  background:#fff;
  font-size:13px;
  font-weight:800;
  text-decoration:none!important;
}
.th-rrv-jump a:hover{
  border-color:#ffb3b6;
  background:#fff4f5;
  color:var(--rrv-red)!important;
}
.th-rrv-service-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px;
}
.th-rrv-service-grid .th-pv-card{grid-column:span 2}
.th-rrv-service-grid .th-pv-card:nth-child(4){grid-column:2/span 2}
.th-rrv-service-grid .th-pv-card:nth-child(5){grid-column:4/span 2}
.th-rrv-info-card{height:100%}
.th-rrv-table-wrap{max-width:920px;margin:0 auto}
.th-rrv-feature-section{
  padding:82px 0;
  background:linear-gradient(135deg,#071a36 0%,#12365d 100%);
  color:#fff;
}
.th-rrv-feature-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:58px;
  align-items:center;
}
.th-rrv-feature-copy h2{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(38px,4.4vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.th-rrv-feature-copy p{
  color:rgba(255,255,255,.85);
  font-size:16px;
  line-height:1.72;
}
.th-rrv-feature-copy ul{
  display:grid;
  gap:10px;
  margin:22px 0;
  padding:0;
  list-style:none;
}
.th-rrv-feature-copy li{
  position:relative;
  padding-left:28px;
  color:#fff;
  line-height:1.55;
}
.th-rrv-feature-copy li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:#ff6d73;
  font-weight:950;
}
.th-rrv-feature-tag,
.th-rrv-dark-tag{
  display:inline-flex;
  margin-bottom:15px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.th-rrv-metric{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:34px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:30px;
  background:rgba(255,255,255,.08);
  box-shadow:0 26px 60px rgba(0,0,0,.16);
}
.th-rrv-metric span{
  color:#cbd7e7;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.th-rrv-metric strong{
  margin:8px 0 0;
  color:#fff;
  font-size:clamp(76px,9vw,126px);
  line-height:.92;
  letter-spacing:-.07em;
}
.th-rrv-metric b{
  margin-top:14px;
  color:#fff;
  font-size:20px;
}
.th-rrv-metric small{
  margin-top:5px;
  color:#cbd7e7;
  font-size:14px;
}
.th-rrv-ties-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.th-rrv-tie-card{
  position:relative;
  min-height:230px;
  padding:28px;
  border:1px solid var(--rrv-line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 40px rgba(15,23,42,.045);
  overflow:hidden;
}
.th-rrv-tie-card>span{
  display:grid;
  place-items:center;
  width:44px;
  height:40px;
  margin-bottom:23px;
  border-radius:12px;
  background:#fff0f1;
  color:var(--rrv-red);
  font-size:12px;
  font-weight:950;
}
.th-rrv-tie-card h3{
  margin:0 0 11px;
  color:var(--rrv-navy);
  font-size:21px;
}
.th-rrv-tie-card p{
  margin:0;
  color:var(--rrv-copy);
  font-size:15px;
  line-height:1.65;
}
.th-rrv-note-blue{
  border-color:#cfe0f1!important;
  background:#f3f8fd!important;
}
.th-rrv-note-blue p{color:#38526f!important}
.th-rrv-absence-grid{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);
  gap:54px;
  align-items:center;
}
.th-rrv-absence-grid h2{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(36px,4.2vw,54px);
  line-height:1.05;
  letter-spacing:-.04em;
}
.th-rrv-absence-grid>div>p{
  color:#d8e0ea;
  line-height:1.7;
}
.th-rrv-dark-panel{
  padding:30px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  background:#12365d;
}
.th-rrv-dark-panel h3{
  margin:0 0 14px;
  color:#fff;
  font-size:23px;
}
.th-rrv-dark-panel ul{
  margin:0;
  padding:0;
  list-style:none;
}
.th-rrv-dark-panel li{
  position:relative;
  padding:11px 0 11px 27px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#eef4fb;
  line-height:1.5;
}
.th-rrv-dark-panel li:first-child{border-top:0}
.th-rrv-dark-panel li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:#ff676e;
  font-weight:950;
}
.th-rrv-157-grid{
  display:grid;
  grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);
  gap:28px;
  align-items:stretch;
}
.th-rrv-157-number{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
  border-radius:28px;
  background:linear-gradient(145deg,#ef2f33,#b30b1c);
  color:#fff;
}
.th-rrv-157-number span{
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.th-rrv-157-number strong{
  margin:8px 0;
  font-size:clamp(82px,9vw,126px);
  line-height:.9;
  letter-spacing:-.07em;
}
.th-rrv-157-number b{
  max-width:200px;
  font-size:18px;
  line-height:1.3;
}
.th-rrv-157-card h2{
  margin:0 0 16px;
  color:var(--rrv-navy);
  font-size:clamp(30px,3vw,42px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.th-rrv-related-section{
  background:linear-gradient(180deg,#fff 0%,#f5f8fc 100%);
}
.th-rrv-doc-label{
  display:grid;
  place-items:center;
  width:45px;
  height:40px;
  margin-bottom:20px;
  border-radius:12px;
  background:var(--rrv-navy);
  color:#fff;
  font-size:12px;
  font-weight:950;
}
.th-rrv-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.th-rrv-steps article{
  display:flex;
  align-items:flex-start;
  gap:15px;
  min-height:116px;
  padding:22px;
  border:1px solid var(--rrv-line);
  border-radius:20px;
  background:#fff;
}
.th-rrv-steps article>span{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:38px;
  border-radius:11px;
  background:#fff0f1;
  color:var(--rrv-red);
  font-size:12px;
  font-weight:950;
}
.th-rrv-steps p{
  margin:3px 0 0!important;
  color:var(--rrv-navy)!important;
  font-weight:750;
  line-height:1.48!important;
}
.th-rrv-cost-grid{align-items:stretch}
.th-rrv-cost-card{
  padding:30px;
  border:1px solid var(--rrv-line);
  border-radius:26px;
  background:#fff;
  box-shadow:0 16px 45px rgba(15,23,42,.05);
}
.th-rrv-cost-card h3{
  margin:0 0 20px;
  color:var(--rrv-navy);
  font-size:27px;
  line-height:1.15;
}
.th-rrv-cost-card p{
  color:var(--rrv-copy);
  line-height:1.68;
}
.th-rrv-cost-card ul{
  margin:12px 0 18px;
  padding-left:20px;
  color:var(--rrv-copy);
}
.th-rrv-cost-tag{
  display:inline-flex;
  margin-bottom:13px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff0f1;
  color:var(--rrv-red);
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.th-rrv-price-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:4px 16px;
  margin:18px 0;
  padding:20px;
  border-radius:18px;
  background:var(--rrv-navy);
  color:#fff;
}
.th-rrv-price-row span{align-self:end;color:#d9e4ef;font-size:13px}
.th-rrv-price-row strong{grid-row:1/span 2;grid-column:2;font-size:28px}
.th-rrv-price-row small{color:#d9e4ef}
.th-rrv-processing-list{
  display:grid;
  gap:10px;
  margin:18px 0 22px;
}
.th-rrv-processing-list>div{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  padding:17px;
  border:1px solid var(--rrv-line);
  border-radius:16px;
  background:#f8fafc;
}
.th-rrv-processing-list span{
  color:#344054;
  font-size:13px;
  line-height:1.45;
}
.th-rrv-processing-list strong{
  color:var(--rrv-red);
  font-size:14px;
  text-align:right;
}
.th-rrv-inline-link{
  display:inline-flex;
  margin-top:5px;
  color:var(--rrv-red)!important;
  font-weight:850;
  text-decoration:none!important;
}
.th-rrv-inline-link:hover{text-decoration:underline!important}
.th-rrv-why-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px;
}
.th-rrv-why-grid .th-pv-dark-card{grid-column:span 2}
.th-rrv-why-grid .th-pv-dark-card:nth-child(4){grid-column:2/span 2}
.th-rrv-why-grid .th-pv-dark-card:nth-child(5){grid-column:4/span 2}
.th-rrv-form-points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:24px;
}
.th-rrv-form-points span{
  position:relative;
  padding:13px 14px 13px 38px;
  border:1px solid var(--rrv-line);
  border-radius:15px;
  background:#fff;
  color:var(--rrv-navy);
  font-size:13px;
  font-weight:750;
}
.th-rrv-form-points span:before{
  content:"✓";
  position:absolute;
  left:14px;
  color:var(--rrv-red);
  font-weight:950;
}
@media(max-width:1050px){
  .th-rrv-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .th-rrv-service-grid .th-pv-card,
  .th-rrv-service-grid .th-pv-card:nth-child(4),
  .th-rrv-service-grid .th-pv-card:nth-child(5){grid-column:auto}
  .th-rrv-ties-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .th-rrv-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .th-rrv-why-grid .th-pv-dark-card,
  .th-rrv-why-grid .th-pv-dark-card:nth-child(4),
  .th-rrv-why-grid .th-pv-dark-card:nth-child(5){grid-column:auto}
}
@media(max-width:860px){
  .th-rrv-feature-grid,
  .th-rrv-absence-grid,
  .th-rrv-157-grid{grid-template-columns:1fr}
  .th-rrv-metric{max-width:520px}
  .th-rrv-157-number{min-height:260px}
}
@media(max-width:760px){
  .th-rrv-hero-facts>div{grid-template-columns:50px 1fr}
  .th-rrv-hero-facts b{grid-column:2;text-align:left}
  .th-rrv-service-grid,
  .th-rrv-ties-grid,
  .th-rrv-steps,
  .th-rrv-why-grid,
  .th-rrv-form-points{grid-template-columns:1fr}
  .th-rrv-tie-card{min-height:0}
  .th-rrv-jump .th-pv-wrap{width:calc(100% - 28px)}
  .th-rrv-processing-list>div{grid-template-columns:1fr}
  .th-rrv-processing-list strong{text-align:left}
}


/* =========================================================
   v425 RRV visibility / contrast safeguards
   Explicit colours prevent global theme rules from making
   content unreadable inside dark, red or light page cards.
   ========================================================= */

/* Light sections/cards */
.th-rrv .th-pv-card,
.th-rrv .th-pv-info,
.th-rrv .th-pv-doc,
.th-rrv .th-rrv-cost-card,
.th-rrv .th-rrv-tie-card,
.th-rrv .th-rrv-157-card,
.th-rrv .th-pv-related-card,
.th-rrv .th-pv-form-card,
.th-rrv .th-formcard{
  color:var(--rrv-navy);
}
.th-rrv .th-pv-card h2,
.th-rrv .th-pv-card h3,
.th-rrv .th-pv-info h2,
.th-rrv .th-pv-info h3,
.th-rrv .th-pv-doc h2,
.th-rrv .th-pv-doc h3,
.th-rrv .th-rrv-cost-card h2,
.th-rrv .th-rrv-cost-card h3,
.th-rrv .th-rrv-tie-card h2,
.th-rrv .th-rrv-tie-card h3,
.th-rrv .th-rrv-157-card h2,
.th-rrv .th-rrv-157-card h3{
  color:var(--rrv-navy)!important;
}
.th-rrv .th-pv-card p,
.th-rrv .th-pv-info p,
.th-rrv .th-pv-doc p,
.th-rrv .th-rrv-cost-card p,
.th-rrv .th-rrv-tie-card p,
.th-rrv .th-rrv-157-card p{
  color:var(--rrv-copy)!important;
}

/* Cost box: make every item unambiguous and readable */
.th-rrv .th-rrv-price-row{
  background:#071a36!important;
  color:#fff!important;
}
.th-rrv .th-rrv-price-row span,
.th-rrv .th-rrv-price-row small{
  color:#e7eef7!important;
}
.th-rrv .th-rrv-price-row strong{
  color:#fff!important;
}
.th-rrv .th-rrv-price-row strong,
.th-rrv .th-rrv-price-row span,
.th-rrv .th-rrv-price-row small{
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}

/* Processing cards */
.th-rrv .th-rrv-processing-list>div{
  background:#f8fafc!important;
}
.th-rrv .th-rrv-processing-list span{
  color:#344054!important;
}
.th-rrv .th-rrv-processing-list strong{
  color:#c81822!important;
}

/* Dark navy sections */
.th-rrv .th-pv-dark,
.th-rrv .th-rrv-feature-section{
  color:#fff!important;
}
.th-rrv .th-pv-dark h1,
.th-rrv .th-pv-dark h2,
.th-rrv .th-pv-dark h3,
.th-rrv .th-pv-dark h4,
.th-rrv .th-pv-dark strong,
.th-rrv .th-rrv-feature-section h1,
.th-rrv .th-rrv-feature-section h2,
.th-rrv .th-rrv-feature-section h3,
.th-rrv .th-rrv-feature-section h4,
.th-rrv .th-rrv-feature-section strong{
  color:#fff!important;
}
.th-rrv .th-pv-dark p,
.th-rrv .th-pv-dark li,
.th-rrv .th-pv-dark small,
.th-rrv .th-rrv-feature-section p,
.th-rrv .th-rrv-feature-section li,
.th-rrv .th-rrv-feature-section small{
  color:#e4ebf3!important;
}

/* Dark inner cards */
.th-rrv .th-rrv-dark-panel,
.th-rrv .th-pv-dark-card{
  color:#fff!important;
}
.th-rrv .th-rrv-dark-panel h2,
.th-rrv .th-rrv-dark-panel h3,
.th-rrv .th-pv-dark-card h2,
.th-rrv .th-pv-dark-card h3{
  color:#fff!important;
}
.th-rrv .th-rrv-dark-panel p,
.th-rrv .th-rrv-dark-panel li,
.th-rrv .th-pv-dark-card p,
.th-rrv .th-pv-dark-card li{
  color:#edf3f9!important;
}

/* Red Subclass 157 panel */
.th-rrv .th-rrv-157-number,
.th-rrv .th-rrv-157-number span,
.th-rrv .th-rrv-157-number strong,
.th-rrv .th-rrv-157-number b{
  color:#fff!important;
}

/* Hero card and navy badges */
.th-rrv .th-rrv-hero-card{
  color:var(--rrv-navy)!important;
}
.th-rrv .th-rrv-hero-card h2{
  color:var(--rrv-navy)!important;
}
.th-rrv .th-rrv-hero-card p,
.th-rrv .th-rrv-hero-card span{
  color:var(--rrv-copy);
}
.th-rrv .th-rrv-hero-facts strong{
  color:#fff!important;
}
.th-rrv .th-rrv-hero-facts b{
  color:var(--rrv-red)!important;
}

/* Notes and labels */
.th-rrv .th-pv-note p{
  color:#67333a!important;
}
.th-rrv .th-rrv-note-blue p{
  color:#38526f!important;
}
.th-rrv .th-rrv-doc-label,
.th-rrv .th-pv-num{
  color:#fff!important;
}

/* Form */
.th-rrv .th-formcard,
.th-rrv .th-formcard h3,
.th-rrv .th-formcard label{
  color:var(--rrv-navy)!important;
}
.th-rrv .th-formcard .muted,
.th-rrv .th-form-note{
  color:#667085!important;
}

/* Selection remains readable if text is highlighted by the browser */
.th-rrv ::selection{
  background:#cfe0ff;
  color:#071a36;
}
