/* Scoped Ready Solutions goals and combos; existing card UI preserved. */
.rs-ready-ui .rs-goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 22px;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}

.rs-ready-ui .rs-goal-grid > .sol-selector__item {
  width: auto;
  min-width: 0;
}

.rs-ready-ui .rs-goal-card {
  --rs-goal-overlay: linear-gradient(90deg, rgba(8, 21, 43, 0.38), rgba(8, 21, 43, 0.7) 24%, rgba(8, 21, 43, 0.96) 48%, rgba(8, 21, 43, 0.98));
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 310px;
  padding: 30px 26px 28px 38%;
  overflow: hidden;
  border: 1px solid rgba(139, 180, 245, 0.32);
  border-radius: var(--radius, 22px);
  background-color: var(--navy);
  background-image: var(--rs-goal-overlay), var(--rs-goal-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--rs-goal-position, center);
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.28);
  color: #fff;
  text-align: left;
}

.rs-ready-ui .rs-goal-card--presence {
  --rs-goal-image: url('../assets/images/services/focus/service-focus-ready-sites.webp');
  --rs-goal-position: 38% center;
}

.rs-ready-ui .rs-goal-card--catalog {
  --rs-goal-image: url('../assets/images/catalogo-shared/board-clean.webp');
  --rs-goal-position: 40% center;
}

.rs-ready-ui .rs-goal-card--photos {
  --rs-goal-image: url('../assets/images/ready-made-previews/small-shop-product-catalog-preview.webp');
  --rs-goal-position: 44% top;
}

.rs-ready-ui .rs-goal-card--automation {
  --rs-goal-image: url('../assets/images/services/focus/service-focus-automation.png');
  --rs-goal-position: 42% center;
}

.rs-ready-ui .rs-goal-card--dashboard {
  --rs-goal-image: url('../assets/images/services/focus/service-focus-dashboard.png');
  --rs-goal-position: 42% center;
}

.rs-ready-ui .rs-goal-card--coming {
  --rs-goal-image: url('../assets/images/backgrounds/cir2.png');
  --rs-goal-overlay: linear-gradient(90deg, rgba(8, 21, 43, 0.52), rgba(8, 21, 43, 0.84) 34%, rgba(8, 21, 43, 0.98) 72%);
  --rs-goal-position: center;
  cursor: default;
}

.rs-ready-ui .rs-goal-number {
  position: absolute;
  z-index: 0;
  bottom: -0.12em;
  left: 15px;
  color: rgba(231, 240, 255, 0.3);
  font-size: clamp(126px, 12vw, 174px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.rs-ready-ui .rs-goal-card .sol-selector__problem,
.rs-ready-ui .rs-goal-card .sol-selector__micro,
.rs-ready-ui .rs-goal-card .sol-selector__hint {
  position: relative;
  z-index: 1;
}

.rs-ready-ui .rs-goal-card .sol-selector__problem {
  color: #fff;
  font-size: clamp(21px, 1.75vw, 25px);
  font-weight: 820;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.rs-ready-ui .rs-goal-card .sol-selector__micro {
  min-height: 0;
  color: #dce6f7;
  font-size: 14.5px;
  line-height: 1.55;
}

.rs-ready-ui .rs-goal-card .sol-selector__hint {
  margin-top: auto;
  padding-top: 14px;
  color: #c8dcff;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.4;
}

.rs-ready-ui .rs-goal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 194, 255, 0.66);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.36);
}

.rs-ready-ui .rs-goal-card:focus-visible {
  outline: 3px solid #9fc4ff;
  outline-offset: 4px;
  transform: none;
  border-color: #9fc4ff;
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.32);
}

.rs-ready-ui .rs-goal-card--coming:hover {
  transform: none;
  border-color: rgba(139, 180, 245, 0.32);
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.28);
}

.rs-ready-ui .rs-goal-swipe-hint {
  display: none;
}

.rs-ready-ui .rs-combo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(20px, 1.7vw, 24px);
}

.rs-ready-ui .rs-combo-card {
  min-height: 440px;
  padding: clamp(26px, 2.25vw, 32px);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(15, 36, 76, 0.05);
  color: var(--navy);
}

.rs-ready-ui .rs-combo-card.sol-combo--featured {
  border-color: rgba(37, 99, 235, 0.56);
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

.rs-ready-ui .rs-combo-letter {
  color: rgba(37, 99, 235, 0.25);
  font-size: clamp(42px, 3.5vw, 48px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 0.88;
  pointer-events: none;
  user-select: none;
}

.rs-ready-ui .rs-combo-card.sol-combo--featured .rs-combo-letter {
  color: rgba(37, 99, 235, 0.38);
}

.rs-ready-ui .rs-combo-card .sol-combo__includes-title {
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid rgba(153, 177, 214, 0.28);
}

.rs-ready-solutions-page .sol-carousel .sol-rec__service-icon {
  display: none;
}

.rs-ready-solutions-page .sol-carousel .sol-rec__service {
  gap: 0;
}

@media (hover: hover) and (pointer: fine) {
  .rs-ready-ui .rs-combo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 18px 42px rgba(15, 36, 76, 0.08);
  }

  .rs-ready-ui .rs-combo-card.sol-combo--featured:hover {
    border-color: rgba(37, 99, 235, 0.68);
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.06);
  }
}

@media (max-width: 1024px) {
  .rs-ready-ui .rs-goal-grid,
  .rs-ready-ui .rs-combo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rs-ready-solutions-page .sol-dark .rs-ready-goals {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(59, 113, 255, 0.16);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: var(--navy);
  }

  .rs-ready-solutions-page .sol-dark .rs-ready-goals .sol-section-divider {
    display: none;
  }

  .rs-ready-solutions-page .sol-dark .rs-ready-goals .eyebrow {
    color: var(--blue-600);
  }

  .rs-ready-solutions-page .sol-dark .rs-ready-goals .section-title {
    color: var(--navy);
  }

  .rs-ready-solutions-page .sol-dark .rs-ready-goals .sol-selector-head__aside {
    color: var(--muted-strong);
  }

  .rs-ready-ui .rs-goal-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    padding: 2px 0 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(159, 196, 255, 0.62) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .rs-ready-ui .rs-goal-grid > .sol-selector__item {
    flex: 0 0 min(82vw, 340px);
    width: min(82vw, 340px);
    scroll-snap-align: start;
  }

  .rs-ready-ui .rs-goal-card {
    --rs-goal-overlay: linear-gradient(180deg, rgba(8, 21, 43, 0.28), rgba(8, 21, 43, 0.54) 105px, rgba(8, 21, 43, 0.95) 190px, rgba(8, 21, 43, 0.99));
    min-height: 360px;
    padding: 160px 24px 26px;
    background-position: var(--rs-goal-mobile-position, var(--rs-goal-position, center));
  }

  .rs-ready-ui .rs-goal-card--presence { --rs-goal-mobile-position: 42% top; }
  .rs-ready-ui .rs-goal-card--catalog { --rs-goal-mobile-position: 46% top; }
  .rs-ready-ui .rs-goal-card--photos { --rs-goal-mobile-position: center top; }
  .rs-ready-ui .rs-goal-card--automation { --rs-goal-mobile-position: 45% top; }
  .rs-ready-ui .rs-goal-card--dashboard { --rs-goal-mobile-position: 45% top; }
  .rs-ready-ui .rs-goal-card--coming { --rs-goal-mobile-position: center top; }

  .rs-ready-ui .rs-goal-number {
    top: 8px;
    bottom: auto;
    left: 18px;
    font-size: 122px;
  }

  .rs-ready-ui .rs-goal-card .sol-selector__problem {
    font-size: 25px;
  }

  .rs-ready-ui .rs-goal-swipe-hint {
    display: block;
    margin: 10px 0 0;
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 690;
    line-height: 1.4;
    text-align: right;
  }

  .rs-ready-ui .rs-combo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rs-ready-ui .rs-combo-card {
    min-height: 0;
    padding: 22px;
    border-radius: 19px;
  }

  .rs-ready-ui .rs-combo-letter {
    font-size: 40px;
  }

  .rs-ready-ui .rs-combo-card .sol-combo__includes-title {
    margin-top: 24px;
    padding-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-ready-ui .rs-goal-card,
  .rs-ready-ui .rs-combo-card {
    transition: none;
  }

  .rs-ready-ui .rs-goal-card:hover,
  .rs-ready-ui .rs-combo-card:hover {
    transform: none;
  }
}

/* ROSENET-UI-READY-SOLUTIONS-02: one entrance, one living edge.
   The existing body circuit.png remains the only light circuit pattern. */
.rs-ready-solutions-page .rs-ready-shell {
  color: var(--navy);
}

.rs-ready-solutions-page .rs-ready-shell::before {
  background: linear-gradient(180deg, rgba(249, 251, 254, 0.68), rgba(253, 254, 255, 0.88));
  -webkit-mask-image: none;
  mask-image: none;
}

.rs-ready-solutions-page .rs-ready-intro {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(44px, 4.5vw, 62px);
}

.rs-ready-solutions-page .rs-ready-intro::before {
  position: absolute;
  z-index: -1;
  inset: 18% 0 -32px;
  background: radial-gradient(ellipse 52% 42% at 50% 78%, rgba(37, 99, 235, 0.065), transparent 100%);
  content: "";
  pointer-events: none;
  animation: rs-ready-environment 800ms var(--ease) both;
}

.rs-ready-solutions-page .rs-ready-intro .eyebrow,
.rs-ready-solutions-page .rs-ready-shell .rs-ready-goals .eyebrow {
  color: var(--blue-600);
}

.rs-ready-solutions-page .rs-ready-intro .sol-hero__title,
.rs-ready-solutions-page .rs-ready-shell .rs-ready-goals .section-title {
  color: var(--navy);
}

.rs-ready-solutions-page .rs-ready-intro .sol-hero__lede,
.rs-ready-solutions-page .rs-ready-shell .rs-ready-goals .sol-selector-head__aside {
  color: var(--muted-strong);
}

.rs-ready-solutions-page .rs-ready-shell .rs-ready-goals {
  background: transparent;
  border-top: 0;
  box-shadow: none;
  color: var(--navy);
  padding-top: clamp(42px, 4.8vw, 68px);
}

.rs-ready-solutions-page .rs-ready-goals .sol-section-divider {
  display: none;
}

/* Geometry is reserved from first paint; only opacity and 12px translation change. */
.rs-ready-solutions-page .rs-ready-intro .sol-hero__inner > * {
  animation: rs-ready-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rs-ready-solutions-page .rs-ready-intro .eyebrow { animation-delay: 380ms; }
.rs-ready-solutions-page .rs-ready-intro .sol-hero__title { animation-delay: 560ms; }
.rs-ready-solutions-page .rs-ready-intro .sol-hero__lede { animation-delay: 760ms; }
.rs-ready-solutions-page .rs-ready-intro .hero-actions { animation-delay: 920ms; }

/* Replace the shared blur/scale reveal only in the first content section. */
.rs-ready-solutions-page .rs-ready-goals .reveal {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
  will-change: auto;
  animation: rs-ready-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) 1120ms both;
}

/* Immediate focus/click access even during the short entrance. */
.rs-ready-solutions-page .rs-ready-intro:focus-within .sol-hero__inner > *,
.rs-ready-solutions-page .rs-ready-intro:active .sol-hero__inner > *,
.rs-ready-solutions-page .rs-ready-goals:focus-within .reveal,
.rs-ready-solutions-page .rs-ready-goals:target .reveal {
  animation: none;
}

.rs-ready-solutions-page .rs-ready-horizon {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 20px;
  margin: 0;
  overflow: hidden;
  pointer-events: auto;
  animation: rs-ready-environment 520ms var(--ease) 300ms both;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
}

.rs-ready-solutions-page .rs-ready-horizon::before,
.rs-ready-solutions-page .rs-ready-horizon::after {
  position: absolute;
  top: 9px;
  left: 0;
  content: "";
  pointer-events: none;
}

.rs-ready-solutions-page .rs-ready-horizon::before {
  width: 100%;
  height: 1px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(71, 112, 172, 0.3) 8%, rgba(226, 238, 255, 0.72) 50%, rgba(71, 112, 172, 0.3) 92%, transparent);
}

.rs-ready-solutions-page .rs-ready-horizon::after {
  top: 8px;
  width: 28%;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 0%, rgba(111, 175, 255, 0.22) 12%, rgba(84, 158, 255, 0.78) 32%, rgba(235, 246, 255, 0.98) 46%, #fff 50%, rgba(235, 246, 255, 0.98) 54%, rgba(84, 158, 255, 0.78) 68%, rgba(111, 175, 255, 0.22) 88%, transparent 100%);
  box-shadow: 0 0 4px 1px rgba(205, 231, 255, 0.8), 0 0 12px 4px rgba(67, 139, 247, 0.28);
  transform: translateX(-88%);
  animation: rs-ready-edge 7s linear 400ms infinite both;
}

@keyframes rs-ready-environment {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rs-ready-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* The 28% segment begins just inside the left edge, crosses the full boundary,
   then fades outside the right edge before restarting. */
@keyframes rs-ready-edge {
  0% { transform: translateX(-88%); opacity: 0.25; }
  5% { opacity: 1; }
  93% { opacity: 1; }
  100% { transform: translateX(358%); opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .rs-ready-solutions-page .rs-ready-horizon:hover::after {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-ready-solutions-page .rs-ready-intro::before,
  .rs-ready-solutions-page .rs-ready-intro .sol-hero__inner > *,
  .rs-ready-solutions-page .rs-ready-horizon,
  .rs-ready-solutions-page .rs-ready-horizon::after,
  .rs-ready-solutions-page .rs-ready-goals .reveal {
    animation: none;
  }

  .rs-ready-solutions-page .rs-ready-intro .sol-hero__inner > * {
    opacity: 1;
    transform: none;
  }

  .rs-ready-solutions-page .rs-ready-horizon::after {
    opacity: 0.86;
    transform: translateX(129%);
  }
}
