/* Overrides — cache-bust via ?v= query (main bundle is immutable) */
/* Slice art +30% (381 → 495). Grid columns unchanged; art grows into outer gutter. */
.hub-prose-slice__layout {
  grid-template-columns: minmax(0, 1fr) min(381px, 33%) !important;
}
.hub-prose-slice__layout--art-left {
  grid-template-columns: min(381px, 33%) minmax(0, 1fr) !important;
}
.hub-prose-slice--with-art .hub-prose-slice__layout,
.hub-prose-slice--with-art > .wrap {
  overflow: visible !important;
}
.hub-prose-slice__illust {
  max-width: 495px !important;
  overflow: visible !important;
}
.hub-prose-slice__photo {
  width: min(100%, 495px) !important;
  max-width: 495px !important;
  overflow: visible !important;
}
.hub-prose-slice__layout--art-right .hub-prose-slice__photo {
  margin-right: -114px !important;
}
.hub-prose-slice__layout--art-left .hub-prose-slice__photo {
  margin-left: -114px !important;
}
.hub-prose-slice__photo img {
  width: 100% !important;
  height: auto !important;
}

/* Perú checkout block (+30% vs 438px) */
.hub-prose-slice__layout--art-left:has(img[src*="pasarela-de-pagos-segura-checkout"]) {
  grid-template-columns: min(438px, 38%) minmax(0, 1fr) !important;
}
.hub-prose-slice__photo:has(img[src*="pasarela-de-pagos-segura-checkout"]) {
  width: min(100%, 569px) !important;
  max-width: 569px !important;
  margin-left: -131px !important;
}
.hub-prose-slice__layout--art-left:has(img[src*="pasarela-de-pagos-segura-checkout"]) .hub-prose-slice__illust {
  max-width: 569px !important;
}

@media (min-width: 821px) {
  section.hub-prose-slice:has(img[src*="pasarela-de-pagos-segura-checkout"]) > .wrap {
    transform: translateX(-1.75rem);
  }
}
@media (max-width: 820px) {
  section.hub-prose-slice:has(img[src*="pasarela-de-pagos-segura-checkout"]) > .wrap {
    transform: translateX(-0.65rem);
  }
  .hub-prose-slice__layout--art-right .hub-prose-slice__photo,
  .hub-prose-slice__layout--art-left .hub-prose-slice__photo {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hub-prose-slice__illust {
    max-width: min(92vw, 412px) !important;
    margin-inline: auto !important;
  }
  .hub-prose-slice__photo {
    max-width: min(92vw, 412px) !important;
  }
  .hub-prose-slice__photo:has(img[src*="pasarela-de-pagos-segura-checkout"]) {
    max-width: min(92vw, 475px) !important;
  }
}

.steps-block .steps-block__cta {
  margin-top: 3rem !important;
}

.cta-pro--pre-faq {
  padding: 1.15rem 1.25rem !important;
  gap: 1rem !important;
}
.cta-pro--pre-faq .cta-pro__title {
  font-size: 1.15rem !important;
}
.cta-pro--pre-faq .cta-pro__text {
  font-size: 0.92rem !important;
  max-width: 42ch;
}
.cta-pro--pre-faq .cta-pro__visual {
  display: none;
}
@media (min-width: 720px) {
  .cta-pro--pre-faq {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cta-pro--pre-faq .cta-pro__content {
    flex: 1;
  }
  .cta-pro--pre-faq .cta-pro__btn {
    margin-top: 0.75rem;
  }
}

/* Evaluación comercial — ilustración +30% (sin :has; navegadores antiguos) */
@media (min-width: 821px) {
  .hub-prose-slice--evaluacion-comercial.hub-prose-slice--with-art .hub-prose-slice__layout--art-right .hub-prose-slice__illust {
    max-width: 644px !important;
  }
  .hub-prose-slice--evaluacion-comercial.hub-prose-slice--with-art
    .hub-prose-slice__layout--art-right
    .hub-prose-slice__photo {
    width: min(100%, 644px) !important;
    max-width: 644px !important;
    margin-right: -149px !important;
  }
}

@media (max-width: 820px) {
  .hub-prose-slice--evaluacion-comercial.hub-prose-slice--with-art
    .hub-prose-slice__layout--art-right
    .hub-prose-slice__illust {
    max-width: min(96vw, 536px) !important;
  }
  .hub-prose-slice--evaluacion-comercial.hub-prose-slice--with-art
    .hub-prose-slice__layout--art-right
    .hub-prose-slice__photo {
    max-width: min(96vw, 536px) !important;
  }
}


/* Fondo celeste suave para bandas hub (sustituye crema en bloques elegidos) */
.section-sky {
  background: linear-gradient(180deg, #e8f2ff 0%, #eef5ff 45%, #e5efff 100%) !important;
}

/* #soluciones — línea punteada celeste en el medio del espacio entre bloques */
section#soluciones.hub-section--dash-gap,
section#soluciones {
  --hub-section-pad: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
section#soluciones.hub-section--dash-gap::before,
section#soluciones.hub-section--dash-gap::after,
section#soluciones::before,
section#soluciones::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 88%);
  height: 0;
  border: none;
  border-top: 2px dashed rgba(37, 99, 235, 0.42);
  pointer-events: none;
  z-index: 1;
}
section#soluciones.hub-section--dash-gap::before,
section#soluciones::before {
  top: calc(var(--hub-section-pad) / 2);
}
section#soluciones.hub-section--dash-gap::after,
section#soluciones::after {
  bottom: calc(var(--hub-section-pad) / 2);
}
@media (max-width: 520px) {
  section#soluciones.hub-section--dash-gap::before,
  section#soluciones.hub-section--dash-gap::after,
  section#soluciones::before,
  section#soluciones::after {
    width: 92%;
  }
}

/* Hub features — marca verde tipo check en el título */
#soluciones .hub-feature__title {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
}
#soluciones .hub-feature__check {
  flex: 0 0 auto;
  line-height: 1;
  margin-top: 0.06rem;
  font-size: 1rem;
  filter: saturate(1.15);
}

/* Integración + CTA hub — contraste sobre fondo celeste */
#integracion.section-sky .integration-card {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
}
.section-sky .cta-pro {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.08) !important;
}
