/* Shared home and service process. All rules are scoped to this section. */
.rr-process {
  --rr-process-blue: #009cff;
  --rr-process-navy: #001c2d;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 0;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 66% 28%, #073650 0, transparent 47%), #001a2a;
  padding: 44px 0 28px;
}
.rr-process::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto 0 0;
  height: clamp(110px, 12vw, 190px);
  background: url('/assets/upgrade/process-blueprint.svg') center bottom / max(100%, 1100px) auto no-repeat;
  opacity: .42;
}
.rr-process .rr-process__inner {
  width: min(100% - 72px, 1560px);
  margin: 0 auto;
}
.rr-process .rr-process__intro {
  position: relative;
  min-height: clamp(270px, 21vw, 330px);
}
.rr-process .rr-process__copy {
  position: relative;
  z-index: 3;
  padding-top: 6px;
  width: 65%;
}
.rr-process .rr-process__eyebrow {
  display: flex;
  align-items: center;
  gap: 19px;
  margin: 0 0 22px;
  color: var(--rr-process-blue);
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.rr-process .rr-process__eyebrow::before {
  content: "";
  display: block;
  flex: 0 0 48px;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
}
.rr-process h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: clamp(52px, 5vw, 82px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: initial;
  max-width: none;
}
.rr-process h2 span { display: block; white-space: nowrap; }
.rr-process .rr-process__lead {
  width: min(630px, 78%);
  margin: 20px 0 0;
  color: #c4d6e9;
  font-family: Manrope, sans-serif;
  font-size: clamp(18px, 1.6vw, 27px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.016em;
  text-wrap: pretty;
}
.rr-process .rr-process__scene {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: -44px;
  right: -1.5%;
  width: 63%;
  height: calc(100% + 44px);
}
.rr-process .rr-process__photo {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  mask-image: linear-gradient(to right, transparent, #000 25%), linear-gradient(to bottom, #000 87%, transparent);
  mask-composite: intersect;
}
.rr-process .rr-process__house {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 95%;
  object-fit: cover;
  object-position: 52% 40%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 41%), linear-gradient(to bottom, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 41%), linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-composite: intersect;
  opacity: .88;
}
.rr-process .rr-process__sweep {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 44%;
  height: auto;
  opacity: .85;
  -webkit-mask-image: linear-gradient(135deg, #000 0%, #000 48%, #0008 64%, transparent 83%);
  mask-image: linear-gradient(135deg, #000 0%, #000 48%, #0008 64%, transparent 83%);
}
.rr-process .rr-process__van {
  position: absolute;
  display: block;
  bottom: -2%;
  right: 3%;
  width: 90%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 20px 18px #00121e55);
}
.rr-process .rr-process__steps {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(var(--rr-process-count, 4), minmax(0, 1fr));
  gap: 17px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: none;
}
.rr-process .rr-process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  margin: 0;
}
.rr-process .rr-process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 31px;
  left: 53px;
  width: calc(100% - 18px);
  height: 2px;
  background: var(--rr-process-blue);
  opacity: .8;
}
.rr-process .rr-process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--rr-process-blue);
  border-right: 2px solid var(--rr-process-blue);
  box-shadow: 5px -5px 0 3px var(--rr-process-navy);
  transform: rotate(45deg);
}
.rr-process .rr-process__number {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  margin: 0 0 0 20px;
  width: 62px;
  height: 62px;
  padding-top: 2px;
  color: #fff;
  font: 800 25px/1 Manrope, sans-serif;
  letter-spacing: -.045em;
  background: var(--rr-process-navy);
  border-radius: 50%;
}
.rr-process .rr-process__number::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/upgrade/process-step-arrow.svg') center / contain no-repeat;
}
.rr-process .rr-process__number::after {
  content: none;
}
.rr-process .rr-process__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(56px, 5.5vw, 80px);
  column-gap: 10px;
  row-gap: 10px;
  align-content: start;
  flex: 1;
  padding: clamp(23px, 2vw, 32px) 25px 27px;
  min-height: 169px;
  background: linear-gradient(135deg, #07314a99, #0c2b3d88);
  border: 1px solid #0089d6;
  border-bottom-color: #265268;
  border-radius: 10px;
}
.rr-process .rr-process__card h3 {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: clamp(24px, 2.15vw, 38px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.rr-process .rr-process__card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #e2eaf2;
  font-family: Manrope, sans-serif;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.012em;
}
.rr-process .rr-process__icon {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: var(--rr-process-blue);
  display: block;
  width: 100%;
  aspect-ratio: 1;
}
.rr-process .rr-process__icon img,
.rr-process .rr-process__icon svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.rr-process .rr-process__footer {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.rr-process .rr-process__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 44px;
  padding: 14px 24px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: #0075d8;
  transition: color .18s ease, background-color .18s ease;
}
.rr-process .rr-process__cta svg { color: #fff; flex: 0 0 auto; }
.rr-process .rr-process__cta:hover { color: #fff; background: #0066c3; }
.rr-process .rr-process__cta:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media (min-width: 1600px) {
  .rr-process { padding-top: 48px; padding-bottom: 28px; }
  .rr-process .rr-process__inner { width: min(100% - 80px, 1600px); }
  .rr-process .rr-process__card { min-height: 190px; }
}
@media (max-width: 1050px) and (min-width: 701px) {
  .rr-process { padding-top: 40px; }
  .rr-process .rr-process__inner { width: calc(100% - 48px); }
  .rr-process .rr-process__intro { min-height: 310px; }
  .rr-process h2 { font-size: clamp(48px, 6.2vw, 65px); }
  .rr-process .rr-process__copy { width: 72%; }
  .rr-process .rr-process__lead { width: 72%; font-size: 18px; }
  .rr-process .rr-process__scene { width: 75%; top: -50px; right: -12%; }
  .rr-process .rr-process__van { width: 98%; bottom: -1%; }
  .rr-process .rr-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .rr-process .rr-process__step:nth-child(2)::before,
  .rr-process .rr-process__step:nth-child(2)::after { display: none; }
  .rr-process .rr-process__card { grid-template-columns: minmax(0, 1fr) 72px; min-height: 148px; padding: 24px; }
  .rr-process .rr-process__card h3 { font-size: 29px; }
  .rr-process .rr-process__card p { font-size: 17px; }
}
@media (max-width: 700px) {
  .rr-process { padding: 34px 0 51px; scroll-margin-top: 0; }
  .rr-process::after { height: 108px; background-size: 980px auto; opacity: .5; }
  .rr-process .rr-process__inner { width: calc(100% - 40px); }
  .rr-process .rr-process__intro { min-height: 0; }
  .rr-process .rr-process__copy { width: 100%; padding: 0; }
  .rr-process .rr-process__eyebrow { gap: 12px; font-size: 12px; margin-bottom: 13px; }
  .rr-process .rr-process__eyebrow::before { flex-basis: 30px; height: 3px; }
  .rr-process h2 { font-size: clamp(34px, 11.2vw, 75px); line-height: 1.01; letter-spacing: -.057em; }
  .rr-process .rr-process__lead { width: 100%; max-width: 520px; margin-top: 13px; font-size: clamp(16px, 4.25vw, 25px); line-height: 1.45; letter-spacing: -.02em; }
  .rr-process .rr-process__scene { position: relative; top: auto; right: auto; width: calc(100% + 40px); height: auto; aspect-ratio: 1.57; margin: -2px -20px 1px; }
  .rr-process .rr-process__photo { object-fit: contain; mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 89%, transparent); }
  .rr-process .rr-process__house { height: 100%; object-position: 57% 39%; opacity: .93; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 23%, #000 85%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 23%, #000 85%, transparent); }
  .rr-process .rr-process__sweep { top: -14%; left: 58%; width: 40%; }
  .rr-process .rr-process__van { width: 94%; height: auto; right: 3%; bottom: -1%; }
  .rr-process .rr-process__steps { display: flex; flex-direction: column; gap: 11px; }
  .rr-process .rr-process__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 13px; align-items: start; }
  .rr-process .rr-process__step:not(:last-child)::before { top: 0; bottom: -22px; left: 23px; height: auto; width: 2px; background: var(--rr-process-blue); opacity: .9; }
  .rr-process .rr-process__step:not(:last-child)::after { display: none; }
  .rr-process .rr-process__number { margin: 9px 0 0; width: 48px; height: 48px; font-size: 20px; padding-top: 1px; }
  .rr-process .rr-process__card { grid-template-columns: minmax(0, 1fr) 64px; row-gap: 8px; min-height: 0; padding: 16px 16px 18px; border-radius: 7px; }
  .rr-process .rr-process__card h3 { font-size: clamp(23px, 6vw, 35px); margin: 0; line-height: 1.12; }
  .rr-process .rr-process__card p { font-size: 16px; line-height: 1.5; letter-spacing: -.014em; }
  .rr-process .rr-process__footer { margin-top: 17px; padding-bottom: 13px; }
  .rr-process .rr-process__cta { justify-content: center; width: 100%; padding: 14px 16px; min-height: 50px; gap: 15px; border-radius: 999px; background: #0075d8; color: #fff; font-size: 17px; }
  .rr-process .rr-process__cta svg { color: #fff; width: 25px; }
  .rr-process .rr-process__cta:hover { color: #fff; background: #0066c3; }
}
@media (max-width: 360px) {
  .rr-process .rr-process__inner { width: calc(100% - 30px); }
  .rr-process .rr-process__eyebrow { margin-bottom: 12px; }
  .rr-process .rr-process__scene { width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; }
  .rr-process .rr-process__step { grid-template-columns: 43px minmax(0, 1fr); gap: 10px; }
  .rr-process .rr-process__step:not(:last-child)::before { left: 20px; }
  .rr-process .rr-process__number { width: 43px; height: 43px; font-size: 18px; }
  .rr-process .rr-process__card { grid-template-columns: minmax(0, 1fr) 56px; padding: 15px 12px; }
  .rr-process .rr-process__card h3 { font-size: 22px; margin: 0; }
  .rr-process .rr-process__card p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-process .rr-process__cta { transition: none; }
}
