/* A user-controlled finish comparison; separate from the older u-compare UI. */
.rr-finishes {
  color: white;
  background: #001c2c;
  background-image: radial-gradient(ellipse at 90% 0%,#006fac24,transparent 55%);
  padding-block: clamp(52px,5vw,76px);
  isolation: isolate;
}
.rr-finishes__heading { margin-bottom: 26px; }
.rr-finishes__eyebrow { display: flex; align-items: center; gap: 16px; color: #20b3ff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.rr-finishes__eyebrow::before { content: ""; width: 42px; height: 3px; border-radius: 5px; background: currentColor; }
.rr-service-page .rr-finishes h2, .rr-finishes h2 { font-size: clamp(34px,3.7vw,54px); line-height: 1.05; letter-spacing: -.05em; margin: 0; color: white; }
.rr-finishes h2 > span { color: #20b3ff; }
.rr-finishes__heading > p:last-child { margin-top: 17px; max-width: 720px; font-size: 17px; color: #c2d5e3; line-height: 1.6; }
.rr-finishes__tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.rr-finishes__tabs[hidden] { display: none !important; }
.rr-finishes__tab { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; background: #062a3d; border: 1px solid #245269; color: #d1e2ed; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.4; cursor: pointer; transition: background .18s,border-color .18s; }
.rr-finishes__tab:hover { background: #0b3a51; border-color: #4c91b3; }
.rr-finishes__tab[aria-selected="true"] { background: #0075dc; border-color: #0075dc; color: white; }
.rr-finishes__tab:focus-visible, .rr-finishes__endpoint:focus-visible, .rr-finishes__cta:focus-visible { outline: 3px solid #ffbf47; outline-offset: 4px; }
.rr-finishes__panel[hidden] { display: none !important; }
.rr-finishes__panel-heading { display: none; }
.rr-finishes__description { color: #c2d5e3; max-width: 920px; font-size: 15px; line-height: 1.65; margin: 0 0 21px; min-height: 50px; }
.rr-finishes__viewer { position: relative; aspect-ratio: var(--rr-image-ratio,3/2); width: 100%; overflow: hidden; background: #0c3145; border: 1px solid #2a5d76; border-radius: 18px; isolation: isolate; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rr-finishes__viewer:has(.rr-finishes__range:focus-visible) { outline: 3px solid #ffbf47; outline-offset: 5px; }
.rr-finishes__viewer > .rr-finishes__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.rr-finishes__image--before { clip-path: inset(0 calc(100% - var(--rr-reveal,50%)) 0 0); }
.rr-finishes__badge { position: absolute; z-index: 2; top: 22px; padding: 9px 18px; min-height: 36px; border: 1px solid #ffffff40; border-radius: 999px; font-size: 12px; line-height: 1.3; font-weight: 800; letter-spacing: .015em; pointer-events: none; box-shadow: 0 4px 18px #00172614; }
.rr-finishes__badge--before { left: 22px; color: #fff; background: #001c2ce6; }
.rr-finishes__badge--after { right: 22px; color: #fff; background: #0075dc; }
.rr-finishes__line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--rr-reveal,50%); width: 2px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 12px #001c2c40; pointer-events: none; }
.rr-finishes__handle { position: absolute; display: grid; place-items: center; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; color: white; background: #009cf1; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 6px 24px #001c2c30; }
.rr-finishes__range-label { position: absolute; inset: 0; pointer-events: none; }
.rr-finishes__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.rr-finishes__controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.rr-finishes__endpoint { appearance: none; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #2b5266; border-radius: 999px; color: #deedf5; background: #062a3d; font-size: 12px; font-weight: 800; line-height: 1.4; cursor: pointer; }
.rr-finishes__endpoint:hover { background: #0c3a51; border-color: #4d96b8; }
.rr-finishes__hint { display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #a7c5d8; font-size: 12px; line-height: 1.4; }
.rr-finishes__hint svg { color: #20b3ff; }
.rr-finishes__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #25475b; }
.rr-finishes__disclosure { color: #bdcfdd; font-size: 12px; line-height: 1.7; margin: 0; max-width: 650px; }
.rr-finishes__cta { display: inline-flex; gap: 22px; justify-content: center; align-items: center; min-height: 48px; padding: 13px 24px; flex-shrink: 0; border-radius: 999px; color: white; background: #0075dc; font-size: 13px; line-height: 1.4; font-weight: 800; text-decoration: none; }
.rr-finishes__cta:hover { background: #0066c3; color: white; text-decoration: none; }
@media (min-width:1000px) {
  .rr-finishes--home .rr-finishes__panels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
  .rr-finishes--home .rr-finishes__panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid #255066; border-radius: 17px; background: #06283b; padding: 20px; }
  .rr-finishes--home .rr-finishes__panel-heading { display: block; min-height: 2.4em; margin: 0 0 10px; color: #fff; font-size: clamp(19px,1.7vw,24px); line-height: 1.2; letter-spacing: -.035em; }
  .rr-finishes--home .rr-finishes__description { flex: 1; min-height: 95px; font-size: 13px; line-height: 1.65; margin: 0 0 20px; }
  .rr-finishes--home .rr-finishes__viewer { flex-shrink: 0; aspect-ratio: 3/2; border-radius: 11px; }
  .rr-finishes--home .rr-finishes__handle { width: 46px; height: 46px; border-width: 3px; }
  .rr-finishes--home .rr-finishes__handle svg { width: 25px; height: 22px; }
  .rr-finishes--home .rr-finishes__badge { top: 12px; padding: 7px 12px; min-height: 30px; font-size: 10px; }
  .rr-finishes--home .rr-finishes__badge--before { left: 12px; }
  .rr-finishes--home .rr-finishes__badge--after { right: 12px; }
  .rr-finishes--home .rr-finishes__controls { flex-shrink: 0; gap: 6px; margin-top: 12px; }
  .rr-finishes--home .rr-finishes__endpoint { min-height: 44px; padding-inline: 10px; font-size: 10px; }
  .rr-finishes--home .rr-finishes__hint { gap: 4px; font-size: 10px; }
  .rr-finishes--home .rr-finishes__hint svg { width: 15px; }
}
@media (min-width:1000px) and (max-width:1150px) {
  .rr-finishes--home .rr-finishes__panels { gap: 14px; }
  .rr-finishes--home .rr-finishes__panel { padding: 16px; }
  .rr-finishes--home .rr-finishes__hint { max-width: 62px; text-align: center; }
  .rr-finishes--home .rr-finishes__hint svg { display: none; }
}
@media (max-width:700px) {
  .rr-finishes { padding-block: 48px; }
  .rr-finishes > .u-wrap { width: calc(100% - 40px); }
  .rr-finishes__heading { margin-bottom: 24px; }
  .rr-finishes__eyebrow { font-size: 11px; gap: 12px; margin-bottom: 13px; }
  .rr-finishes__eyebrow::before { width: 30px; }
  .rr-service-page .rr-finishes h2, .rr-finishes h2 { font-size: clamp(30px,8.8vw,40px); line-height: 1.06; }
  .rr-finishes__heading > p:last-child { font-size: 16px; margin-top: 16px; }
  .rr-finishes__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .rr-finishes__tab { justify-content: center; min-height: 44px; padding: 10px 12px; font-size: 11px; line-height: 1.4; }
  .rr-finishes__tab[aria-selected="true"]::after { content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; margin-left: 8px; background: white; box-shadow: 0 0 0 3px #ffffff26; }
  .rr-finishes__description { font-size: 14px; line-height: 1.65; min-height: 0; margin-bottom: 18px; }
  .rr-finishes__viewer { border-radius: 12px; }
  .rr-finishes__badge { top: 12px; min-height: 30px; padding: 7px 12px; font-size: 10px; }
  .rr-finishes__badge--before { left: 12px; }
  .rr-finishes__badge--after { right: 12px; }
  .rr-finishes__handle { width: 48px; height: 48px; border-width: 3px; }
  .rr-finishes__handle svg { width: 25px; height: 22px; }
  .rr-finishes__controls { gap: 8px; margin-top: 10px; }
  .rr-finishes__endpoint { padding-inline: 12px; font-size: 11px; min-height: 44px; }
  .rr-finishes__hint { font-size: 10px; gap: 5px; }
  .rr-finishes__hint svg { width: 16px; }
  .rr-finishes__footer { align-items: stretch; flex-direction: column; margin-top: 22px; gap: 18px; padding-top: 18px; }
  .rr-finishes__disclosure { font-size: 12px; }
  .rr-finishes__cta { width: 100%; min-height: 50px; font-size: 14px; }
}
@media (max-width:359px) { .rr-finishes__hint { max-width: 68px; text-align: center; line-height: 1.3; } .rr-finishes__hint svg { display: none; } }
@media (prefers-reduced-motion:reduce) { .rr-finishes__tab { transition: none; } }
