/* Homepage-only color and layout refinements for the copied /offer comparison and reviews. */
.savio-before-after.section_before-after {
  background-color: #f8f4fb;
}

.savio-before-after .before-after_overlay {
  background-image: linear-gradient(180deg, #fbf9fc 0%, #efe8f7 58%, #ded1ec 100%) !important;
}

.savio-before-after .after-tag {
  color: #fff;
  background-color: #fe5e3b;
}

.savio-before-after .divider-line {
  background-color: #4b1f69;
}

/* Match the duplicated lane's spacing so the loop reset is visually identical. */
.savio-before-after .before-wrapper,
.savio-before-after .after-wrapper {
  column-gap: 1.25rem;
}

@keyframes savio-home-before-lane {
  from { transform: translate3d(11%, 0, 0); }
  to { transform: translate3d(calc(111% + 1.25rem), 0, 0); }
}

@keyframes savio-home-after-lane {
  from { transform: translate3d(3%, 0, 0); }
  to { transform: translate3d(calc(103% + 1.25rem), 0, 0); }
}

.savio-before-after .before-image_wrapper {
  animation: savio-home-before-lane 10s linear infinite;
  will-change: transform;
}

.savio-before-after .after-image_wrapper {
  animation: savio-home-after-lane 10s linear infinite;
  will-change: transform;
}

.savio-review-wall.section_tweet {
  color: #21162b;
  background-color: #fbf9fc;
  background-image: linear-gradient(180deg, #fbf9fc 0%, #f4edf9 100%);
}

.savio-review-wall .tweet-header h2,
.savio-review-wall .tweet-header h2 strong {
  color: #4b1f69;
}

.savio-review-wall .tweet-card {
  background-color: #2e2335;
}

.savio-review-wall .tweet-component > .tweet-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.savio-review-wall .tweet-list_wrapper {
  min-width: 0;
  width: 100%;
}

.savio-review-wall .tweet-list {
  gap: 1rem;
}

.savio-review-wall .tweet-card {
  max-width: none;
  padding: 1.35rem 1.35rem 1.2rem;
  border-color: rgba(75, 31, 105, 0.16);
  border-radius: 1rem;
}

.savio-review-wall .tweet-card p,
.savio-review-wall .tweet-card .paragraph-5 {
  line-height: 1.55;
}

.savio-review-wall .tweet-card_header {
  gap: 0.85rem;
}

.savio-review-wall .tweet_bg-overlay {
  opacity: 0.14;
  background-image: radial-gradient(circle at 50% 75%, #8d48f6, transparent 60%);
}

body.savio-hero-page .savio-home-footer-details {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 2.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(75, 31, 105, 0.15);
  border-bottom: 1px solid rgba(75, 31, 105, 0.15);
}

body.savio-hero-page .savio-home-footer-location__name {
  margin: 0 0 0.45rem;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

body.savio-hero-page .savio-home-footer-location address {
  color: rgba(255, 255, 255, 0.74);
  font-family: inherit;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.7;
}

body.savio-hero-page .savio-home-footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.6rem);
}

body.savio-hero-page .savio-home-footer-badge {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

body.savio-hero-page .savio-home-footer-badge--klaviyo img {
  display: block;
  width: clamp(9rem, 18vw, 14rem);
  height: auto;
}

body.savio-hero-page .savio-home-footer-badge--google img {
  display: block;
  width: 2.1rem;
  height: 2rem;
  object-fit: contain;
}

body.savio-hero-page .savio-home-footer-badge--google:focus-visible {
  outline: 3px solid #fe5e3b;
  outline-offset: 4px;
}

body.savio-hero-page .savio-home-footer-badge--clutch {
  flex-direction: column;
  gap: 0.1rem;
}

body.savio-hero-page .savio-home-footer-badge__stars {
  color: #e4aa21;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

body.savio-hero-page .savio-home-footer-badge__wordmark {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 991px) {
  .savio-review-wall .tweet-component > .tweet-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .savio-before-after .before-after_heading-wrapper {
    padding-inline: 1rem;
  }

  .savio-before-after .divider-line {
    height: min(73vw, 25rem);
  }

  .savio-review-wall .tweet-component > .tweet-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .savio-review-wall[data-savio-mobile-motion-ready="true"] .tweet-card {
    opacity: 0;
    transition: opacity 580ms cubic-bezier(0.2, 0.65, 0.3, 1);
  }

  .savio-review-wall[data-savio-mobile-motion-ready="true"] .tweet-card.savio-review-card--visible {
    opacity: 1;
  }

  .savio-review-wall .tweet-card {
    padding: 1.1rem 1rem;
  }

  body.savio-hero-page .savio-home-footer-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  body.savio-hero-page .savio-home-footer-badges {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .savio-before-after *,
  .savio-review-wall * {
    scroll-behavior: auto !important;
  }

  .savio-before-after .before-image_wrapper,
  .savio-before-after .after-image_wrapper {
    animation: none !important;
    will-change: auto;
  }

  .savio-review-wall .tweet-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
