/* R129 conversion layer (added by tools/r129/apply_conversion.py). Scoped to new classes plus a few mobile-only overrides.
   No prices. Colors reuse the site purple (#73378a) and the sale banner dark (#1d1b20). */

/* ---------- Trust strip: rating + "Since 2014" next to quote CTAs ---------- */
.rv-trust{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:14px 0 0;padding:0;font:500 14px/1.3 Barlow,'Open Sans',Arial,sans-serif;letter-spacing:.02em;color:inherit}
.rv-trust__stars{color:#fbbc04;letter-spacing:1px;font-size:15px}
.rv-trust b{font-weight:700}
.rv-trust__sep{width:1px;height:14px;background:currentColor;opacity:.4}
.rv-trust--c{justify-content:center;text-align:center}
#rv-hero-trust{display:flex;justify-content:center;margin:12px 0 0}
#rv-hero-trust .rv-trust{margin:0;color:#fff;justify-content:center}

/* ---------- Primary CTA button (home hero) ---------- */
#rv-hero-cta{display:flex;justify-content:center;margin:16px 0 0;width:100%}
.rv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;min-width:240px;padding:0 28px;background:#73378a;border:1px solid #73378a;color:#fff!important;text-decoration:none!important;font:700 14px/1 SweetSansProRegular,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;transition:background .2s}
.rv-btn:hover,.rv-btn:focus-visible{background:#5e2a73;border-color:#fff}

/* ---------- Hero still instead of video (phones) ---------- */
/* The hero's own CSS already paints the still as the grid background (seo-m.webp on phones, seo-d.webp otherwise); phones just stop loading/playing the video. */
@media (max-width:767px){.rv-hero-bg .videobgwrapper{display:none!important}}

/* ---------- Visible quote section (home + contact) ---------- */
.rv-quote{background:#f4f4f6;padding:44px 20px 28px;font-family:Barlow,'Open Sans',Arial,sans-serif;scroll-margin-top:90px}
.rv-quote__in{max-width:900px;margin:0 auto}
.rv-quote__h{margin:0 0 6px;text-align:center;font:400 clamp(26px,3.2vw,40px)/1.1 SweetSansProRegular,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#0b0b12}
.rv-quote__s{margin:0 0 20px;text-align:center;color:#4a4650;font-size:16px}
.rv-quote .qf{max-width:860px;padding:26px 26px 18px;border:1px solid #e3dfe6;box-shadow:0 6px 24px rgba(0,0,0,.06)}

/* ---------- Shorter quote form ---------- */
.qf__row3{display:grid;grid-template-columns:90px 1fr 1fr;gap:12px}
.qf__more{margin:2px 0 12px;border:1px solid #d9d5dd}
.qf__more>summary{cursor:pointer;list-style:none;padding:12px 14px;min-height:46px;display:flex;align-items:center;justify-content:space-between;font:600 13px/1.2 Barlow,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#111}
.qf__more>summary::-webkit-details-marker{display:none}
.qf__more>summary::after{content:"+";font-size:20px;font-weight:400;line-height:1;color:#73378a}
.qf__more[open]>summary::after{content:"\2212"}
.qf__more>summary:focus-visible{outline:2px solid #73378a;outline-offset:2px}
.qf__morein{padding:6px 14px 4px;border-top:1px solid #e3dfe6}
.qf__morein>.qf__f:first-child,.qf__morein>.qf__row2:first-child{margin-top:12px}
@media (max-width:760px){
  .qf__row3{grid-template-columns:72px 1fr 1fr;gap:0 8px}
  .qf__chks{gap:5px}
  .qf .qf__chk{padding:8px 9px;min-height:42px;font-size:13.5px}
  .qf .qf__lede{margin-bottom:12px!important}
  .rv-quote{padding:32px 14px 24px}
}

/* ---------- Static rating card (replaces the empty Trustindex slot) ---------- */
.rv-rate{max-width:520px;margin:0 auto;padding:22px 24px;background:#fff;color:#1d1b20;border:1px solid #e3dfe6;text-align:center;font-family:Barlow,'Open Sans',Arial,sans-serif}
.rv-rate__top{display:flex;align-items:center;justify-content:center;gap:10px}
.rv-rate__top svg{display:block;width:26px;height:26px}
.rv-rate__stars{color:#fbbc04;font-size:24px;letter-spacing:2px;line-height:1}
.rv-rate__score{margin:10px 0 2px;font:400 44px/1 SweetSansProRegular,Arial,sans-serif;color:#0b0b12}
.rv-rate__score small{font:500 16px/1 Barlow,sans-serif;color:#4a4650;margin-left:6px}
.rv-rate__n{margin:0 0 4px;font-size:16px;color:#1d1b20}
.rv-rate__since{margin:0 0 16px;font-size:14px;color:#4a4650}
.rv-rate .rv-btn{min-width:0;width:100%;max-width:280px}

/* ---------- Sticky mobile bar: Get A Quote + tap to call ---------- */
.rv-sticky{display:none}
@media (max-width:767px){
  .rv-sticky{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:6px;position:fixed;left:0;right:0;bottom:0;z-index:99;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#1d1b20;border-top:2px solid #73378a;transition:transform .2s}
  .rv-sticky--q{grid-template-columns:1fr}
  .rv-sticky.is-off{transform:translateY(110%);pointer-events:none}
  .rv-sticky a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:46px;padding:4px 4px;text-align:center;text-decoration:none!important;font:700 12px/1.15 SweetSansProRegular,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#fff!important;border:1px solid #fff;background:transparent}
  .rv-sticky a.rv-sticky__q{background:#73378a;border-color:#73378a;font-size:13px}
  .rv-sticky a small{display:block;font:500 10px/1 Barlow,Arial,sans-serif;letter-spacing:.04em;text-transform:none;opacity:.85;margin-top:2px}
  body.rv-has-sticky{padding-bottom:70px}
}

/* ---------- Sale banner: own top padding exposed for sale.js (no reset/measure flicker) + compact on phones (content unchanged) ---------- */
.rv-sale{--rv-pt:22px}
@media (max-width:767px){.rv-sale{--rv-pt:10px}}
@media (max-width:767px){
  .rv-sale{padding:10px 14px 12px;border-bottom-width:3px}
  .rv-sale__in{gap:6px}
  .rv-sale__h{font-size:19px;line-height:1.05;margin:0 0 3px}
  .rv-sale__sub{font-size:12.5px;line-height:1.35;margin:0}
  .rv-sale__ctas{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:2px}
  .rv-sale .rv-sale__btn{flex:none;min-height:38px;padding:0 4px;font-size:10.5px;line-height:1.15;letter-spacing:.06em;white-space:normal;text-align:center}
}

/* ---------- Mobile: home hero fits reviews + CTA above the fold ---------- */
@media (max-width:767px){
  #rv-hero-locs{flex-direction:row!important;gap:6px!important;margin-top:10px!important;align-items:stretch}
  #rv-hero-locs .rv-hl{width:auto!important;min-width:0!important;flex:1 1 0;min-height:40px!important;padding:6px 4px!important;font-size:11px!important;letter-spacing:.04em;text-align:center}
  #rv-hero-locs .rv-hl small{margin-top:2px;font-size:9.5px}
  #rv-hero-cta{margin-top:12px}
  #rv-hero-cta .rv-btn{width:100%;max-width:320px;min-height:50px}
  #rv-hero-trust{margin-top:8px}
}
@media (max-width:480px){.rv-trust{gap:3px 8px;font-size:13px}.rv-trust__sep{display:none}}

/* ---------- R129 home midpage: left-aligned copy, asymmetric splits (R2 layout language) ---------- */
.rv-home{--ink:#0b0b12;--mute:#4a4650;--line:#e3dfe6;--soft:#f4f4f6;--pad:clamp(20px,4vw,48px);color:var(--ink);font-family:Barlow,'Open Sans',Arial,sans-serif}
.rv-home *{box-sizing:border-box}
.rv-home .shell{max-width:1240px;margin:0 auto}
.rv-home .sec{padding:clamp(56px,8vw,110px) var(--pad);text-align:left}
.rv-home .sec--soft{background:var(--soft)}
.rv-home h2{margin:0 0 16px;font:400 clamp(28px,3.4vw,48px)/1.08 SweetSansProRegular,Arial,sans-serif;letter-spacing:.03em;text-transform:uppercase;color:var(--ink);text-align:left;max-width:18ch}
.rv-home h3{margin:0 0 10px;font:400 clamp(22px,2.2vw,30px)/1.1 SweetSansProRegular,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);text-align:left}
.rv-home .lead{margin:0 0 16px;font-size:clamp(16px,1.4vw,19px);line-height:1.55;color:var(--mute);max-width:54ch;text-align:left}
.rv-home .head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 40px;margin-bottom:clamp(28px,4vw,48px);text-align:left}
.rv-home .head h2{margin:0;flex:1 1 420px}
.rv-home .head .lead{margin:0;flex:1 1 360px;max-width:44ch}
.rv-home .split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,80px);align-items:center;text-align:left}
.rv-home .split--rev{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.rv-home .split--rev .split__media{order:-1}
.rv-home .split__media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.rv-home .split__copy .rv-btn{margin-top:8px;min-width:0;width:auto}
/* Service tiles. The replica's #dm rules (img height:auto, h3 color/size) out-rank plain .rv-home selectors, so these are #dm-scoped. */
#dm .rv-home .tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
#dm .rv-home .tile{grid-column:span 2;position:relative;display:block;overflow:hidden;background:#111;color:#fff;text-decoration:none!important;aspect-ratio:4/5;min-width:0}
#dm .rv-home .tile:nth-child(n+4){grid-column:span 3;aspect-ratio:3/2}
#dm .rv-home .tile img{position:absolute;top:0;left:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:center;margin:0;transition:transform .6s ease}
#dm .rv-home .tile::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.35) 38%,rgba(0,0,0,0) 62%)}
#dm .rv-home .tile:hover img{transform:scale(1.04)}
#dm .rv-home h3.tile__t{position:absolute;left:20px;right:20px;bottom:18px;z-index:2;margin:0;font:400 clamp(20px,2vw,28px)/1.1 SweetSansProRegular,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#fff!important;text-align:left;overflow-wrap:normal;word-break:normal;hyphens:none}
#dm .rv-home h3.tile__t small{display:block;font:600 12px/1.25 Barlow,Arial,sans-serif;letter-spacing:.08em;color:#e4e4ea!important;margin:0 0 8px;text-transform:none}
.rv-home .stack{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.rv-home .stack li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px 28px;align-items:baseline;padding:22px 0;border-bottom:1px solid var(--line);text-align:left}
.rv-home .stack .n{font:700 14px/1 SweetSansProRegular,Arial,sans-serif;letter-spacing:.16em;color:#73378a;text-transform:uppercase}
.rv-home .stack h3{margin:0 0 4px}
.rv-home .stack p{margin:0;color:var(--mute);font-size:16px;line-height:1.5}
.rv-home .btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
@media (max-width:800px){
  .rv-home .split,.rv-home .split--rev{grid-template-columns:1fr}
  .rv-home .split--rev .split__media{order:0}
  .rv-home .stack li{grid-template-columns:48px minmax(0,1fr);gap:6px 16px}
}

@media (max-width:1100px){
  #dm .rv-home .tiles{grid-template-columns:1fr 1fr}
  #dm .rv-home .tile,#dm .rv-home .tile:nth-child(n+4){grid-column:span 1;aspect-ratio:4/3}
  #dm .rv-home .tiles .tile:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:16/9}
}
@media (max-width:560px){
  #dm .rv-home .tiles{grid-template-columns:1fr;gap:12px}
  #dm .rv-home .tile,#dm .rv-home .tile:nth-child(n+4),#dm .rv-home .tiles .tile:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:16/10}
}

/* Award / Franchise Gamechanger badge, next to the reviews line (and compact in the hero trust strip) */
.rv-award{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px;margin:18px auto 0;padding:16px 0 4px;max-width:640px;text-align:left;font-family:Barlow,'Open Sans',Arial,sans-serif;color:#1d1b20;text-decoration:none!important}
.rv-award img{display:block;width:96px;height:auto;flex:none}
.rv-award p{margin:0;font:600 15px/1.35 Barlow,sans-serif;max-width:32ch}
.rv-award span{display:block;font:600 11px/1.2 Barlow,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#4a4650;margin-bottom:4px}
.rv-rate .rv-award{margin:18px auto 16px;justify-content:flex-start;border-top:1px solid #e3dfe6;padding-top:16px}
#rv-hero-trust{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 18px}
#rv-hero-trust .rv-award{margin:0;padding:0;max-width:none;color:#fff}
#rv-hero-trust .rv-award span{color:rgba(255,255,255,.75)}
#rv-hero-trust .rv-award img{width:72px;filter:drop-shadow(0 2px 8px rgba(0,0,0,.45))}
#rv-hero-trust .rv-award p{font-size:13px;max-width:22ch}
.rv-quote__h,.rv-quote__s{text-align:left}
.rv-quote__in{text-align:left}
@media (max-width:767px){
  #rv-hero-trust{flex-direction:column;align-items:center;text-align:center}
  #rv-hero-trust .rv-award{justify-content:center;text-align:center}
  #rv-hero-trust .rv-award p{max-width:28ch}
  .rv-rate .rv-award{justify-content:center;text-align:center}
  .rv-quote__h,.rv-quote__s{text-align:center}
}

/* Hide the browser's native play overlay on the hero video (desktop autoplays; the control is not a UI we want). */
.videobgframe::-webkit-media-controls,
.videobgframe::-webkit-media-controls-enclosure,
.videobgframe::-webkit-media-controls-overlay-enclosure,
.videobgframe::-webkit-media-controls-panel,
.videobgframe::-webkit-media-controls-start-playback-button,
.videobgframe::-webkit-media-controls-overlay-play-button{display:none!important;opacity:0!important;width:0!important;height:0!important;pointer-events:none!important;-webkit-appearance:none!important;appearance:none!important}
.videobgwrapper,.videobgframe{pointer-events:none}
.videobgframe.rv-video-fallback,.rv-hero-bg.rv-video-fallback .videobgwrapper,.rv-hero-bg:has(.rv-video-fallback) .videobgwrapper{opacity:0!important;visibility:hidden!important}

/* Home: the "We Vet / Your Experience" pair aligns on the top edge instead of centering against each other */
#dm .rv-home .sec:nth-of-type(3) .split{align-items:start}
