.rm-ba-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 54px 0 24px;
  overflow: visible;
  background: transparent !important;
}

.rm-ba-section,
.rm-ba-section *,
.rm-ba-shell,
.rm-ba-carousel,
.rm-ba-track {
  box-sizing: border-box;
}

.rm-ba-section::before,
.rm-ba-section::after,
.rm-ba-shell::before,
.rm-ba-shell::after,
.rm-ba-carousel::before,
.rm-ba-carousel::after,
.rm-ba-track::before,
.rm-ba-track::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.rm-ba-shell {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.rm-ba-service-block {
  position: relative;
}

.rm-ba-service-block-spaced {
  margin-top: 86px;
}

.rm-ba-service-intro {
  position: relative;
  width: min(100%, 1620px);
  margin: 0 auto 34px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: start;
  background: transparent !important;
}

.rm-ba-service-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: .96;
  letter-spacing: -0.055em;
  color: #171717;
}

.rm-ba-service-copy {
  max-width: 880px;
  padding-top: 3px;
}

.rm-ba-service-copy p {
  margin: 0 0 14px;
  font-size: 17.5px;
  line-height: 1.62;
  color: rgba(23, 23, 23, .68);
}

.rm-ba-service-copy p:last-child {
  margin-bottom: 0;
}

.rm-ba-service-copy strong {
  color: #171717;
  font-weight: 700;
}

.rm-ba-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8a6f54;
  font-weight: 600;
}

.rm-ba-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.rm-ba-carousel {
  position: relative;
  width: min(100%, 1920px);
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(42px, 5vw, 96px);
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rm-ba-track {
  display: flex;
  align-items: stretch;
  gap: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0 10px;
  margin: 0;
  scrollbar-width: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-overflow-scrolling: touch;
}

.rm-ba-track.rm-ba-lock-scroll {
  overflow-x: hidden;
  scroll-snap-type: none;
}

.rm-ba-track::-webkit-scrollbar {
  display: none;
}

.rm-ba-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 2);
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  flex-direction: column;

  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46));

  border: 1px solid rgba(255, 255, 255, .88);

  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 -1px 0 rgba(255, 255, 255, .34),
    inset 0 0 38px rgba(255, 255, 255, .20);

  transition:
    transform .28s ease,
    border-color .28s ease,
    background .28s ease;
}

.rm-ba-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.38), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 46%);
  opacity: .75;
}

.rm-ba-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 5;
  pointer-events: none;
  border-radius: 27px;
  border: 1px solid rgba(255,255,255,.44);
}

.rm-ba-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.98);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .52));
}

.rm-ba-comparison {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: transparent;
  touch-action: pan-y;
  flex-shrink: 0;
}

.rm-ba-comparison::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 48%);
  mix-blend-mode: screen;
}

.rm-ba-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.rm-ba-before {
  position: relative;
  z-index: 1;
}

.rm-ba-after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.rm-ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
}

.rm-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 8;
  width: 2px;
  background: rgba(255, 255, 255, .90);
  transform: translateX(-50%);
  box-shadow:
    0 0 10px rgba(255,255,255,.72),
    0 0 18px rgba(0,0,0,.05);
  touch-action: none;
}

.rm-ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(20,20,20,.78);

  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.88);

  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);

  box-shadow:
    0 8px 20px rgba(0,0,0,.11),
    inset 1px 1px 1px rgba(255,255,255,.82),
    inset -1px -1px 1px rgba(255,255,255,.20);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;

  touch-action: none;
}

.rm-ba-comparison.is-dragging .rm-ba-handle span,
.rm-ba-comparison:hover .rm-ba-handle span {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(255,255,255,.88);
  box-shadow:
    0 12px 26px rgba(0,0,0,.14),
    inset 1px 1px 1px rgba(255,255,255,.88),
    inset -1px -1px 1px rgba(255,255,255,.22);
}

.rm-ba-content {
  position: relative;
  z-index: 4;
  padding: 22px 24px 25px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.56));
  border-top: 1px solid rgba(255,255,255,.60);
  flex: 1;
}

.rm-ba-content::before {
  display: none !important;
  content: none !important;
}

.rm-ba-category,
.rm-ba-card h3,
.rm-ba-subtitle,
.rm-ba-description {
  position: relative;
  z-index: 1;
}

.rm-ba-category {
  display: inline-block;
  margin-bottom: 8px;
  color: #8a6f54;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.rm-ba-card h3 {
  margin: 0 0 5px;
  font-size: 26px;
  line-height: 1.08;
  color: #171717;
  letter-spacing: -0.025em;
}

.rm-ba-subtitle {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.35;
  color: rgba(23, 23, 23, .62);
}

.rm-ba-description {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 23, 23, .08);
  font-size: 14.5px;
  line-height: 1.48;
  color: rgba(23, 23, 23, .68);
}

.rm-ba-nav {
  position: absolute;
  top: 36%;
  z-index: 10;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  cursor: pointer;

  background: rgba(255,255,255,.78);
  color: rgba(20,20,20,.78);

  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  box-shadow:
    0 8px 20px rgba(30, 24, 18, .08),
    inset 0 1px 0 rgba(255,255,255,.88);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.rm-ba-nav span {
  display: block;
  transform: translateY(-1px);
  font-size: 34px;
  line-height: 44px;
}

.rm-ba-nav:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255,255,255,.90);
  box-shadow:
    0 12px 26px rgba(30, 24, 18, .105),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.rm-ba-prev {
  left: clamp(10px, 2vw, 24px);
}

.rm-ba-next {
  right: clamp(10px, 2vw, 24px);
}

@media (min-width: 1600px) {
  .rm-ba-carousel {
    max-width: 1920px;
  }

  .rm-ba-service-intro {
    max-width: 1680px;
  }
}

@media (max-width: 1100px) {
  .rm-ba-service-intro {
    padding: 0 42px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rm-ba-carousel {
    padding: 0 52px;
  }

  .rm-ba-track {
    gap: 26px;
  }

  .rm-ba-card {
    flex-basis: calc((100% - 26px) / 2);
  }
}

@media (max-width: 900px) {
  .rm-ba-section {
    padding: 48px 0 18px;
  }

  .rm-ba-service-block-spaced {
    margin-top: 66px;
  }

  .rm-ba-service-intro {
    padding: 0 24px;
  }

  .rm-ba-carousel {
    padding: 0 20px;
  }

  .rm-ba-card {
    flex-basis: 82%;
  }

  .rm-ba-nav {
    display: none;
  }

  .rm-ba-handle span {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 600px) {
  .rm-ba-section {
    padding: 36px 0 12px;
  }

  .rm-ba-service-block-spaced {
    margin-top: 58px;
  }

  .rm-ba-service-intro {
    padding: 0 18px;
    margin-bottom: 26px;
  }

  .rm-ba-service-heading h2 {
    font-size: clamp(31px, 11vw, 44px);
    letter-spacing: -0.05em;
  }

  .rm-ba-service-copy p {
    font-size: 16px;
  }

  .rm-ba-track {
    gap: 18px;
  }

  .rm-ba-card {
    flex-basis: 88%;
    border-radius: 22px;
  }

  .rm-ba-card::after {
    border-radius: 21px;
  }

  .rm-ba-comparison {
    aspect-ratio: 4 / 3;
  }

  .rm-ba-card h3 {
    font-size: 22px;
  }

  .rm-ba-description {
    font-size: 14px;
  }

  .rm-ba-handle span {
    width: 58px;
    height: 58px;
  }
}