.title_container-dos_square {
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  background-color: var(--primary--grey);
  border-radius: 24px;
  flex-direction: column;
  padding: 2.5rem 3.5rem;
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -2.5rem;
  background-color: #333366;
  color: white !important;
  max-width: 850px;
}
.back_image-pasarela {
  margin-top: -1px;
}

.container-celu {
  display: flex;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 0;
}

.module-card {
  position: relative;
  overflow: hidden;
  height: 250px;
  margin-bottom: 1rem;
}

/* Ambas mitades miden SIEMPRE 50 % del contenedor --------------- */
.summary,
.detail {
  position: absolute;
  top: 0;
  width: 50%;
  /* fijo */
  height: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
  transition: none;
  /* el JS mueve translateX */
}

.detail h3 {
  display: none;
}

/* summary: arranca centrada pero encima de detail ---------------- */
.summary {
  display: flex;
  left: 0;
  /* anclada al borde izquierdo   */
  transform: translateX(50%);
  /* desplazada hacia el centro   */
  background: #f0f1f8;
  border: 2px dashed #333366;
  border-radius: 2rem;
  z-index: 2;
  font-size: 32px;
  font-weight: 800;
  gap: 1.5rem;
  /* padding: 4.5rem 3.5rem; */
  padding: 4.5rem 6.25rem;
  align-items: center;
}

/* detail: arranca centrada, detrás de summary -------------------- */
.detail {
  right: 0;
  /* anclada al borde derecho     */
  transform: translateX(-50%);
  /* desplazada hacia el centro   */
  background: #333366;
  color: #fff;
  border-radius: 2rem;
  z-index: 1;
  padding: 4.5rem 3.5rem;
}

.gozepelinClass-img {
  flex: 0 0 auto;
  width: 170px;
  height: 170px;
  box-shadow: 3px 3px 20px 0 rgb(148 144 226 / 36%);
  border-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border: 3px #1a1a1a9c solid;
  border-bottom: 0;
  overflow: hidden;
}

.gozepelinClass-img img {
  width: 100%;
  display: block
}

.gozepelinClass-img-2 {
  flex: 0 0 auto;
  width: 200px;
  height: 125px;
  box-shadow: 3px 3px 20px 0 rgb(148 144 226 / 36%);
  border-radius: 20px;
  border: 3px #1a1a1a9c solid;
  overflow: hidden;
}

.gozepelinClass-img-2 img {
  width: 100%;
  display: block
}

.subtitl-e_container {
  margin: auto;
  text-align: center;
  margin-bottom: 5rem;
  max-width: 53rem;
}

.subtitl-e {
  font-size: 48px;
}

ul.lista-bullets li::marker {
  /* fuerza un disco • */
  content: "•  ";
  display: inline !important;
  color: white !important;
  font-size: 1em !important;
}

ul.lista-bullets.colored li::marker {
  /* fuerza un disco • */
  content: "•  ";
  display: inline !important;
  color: #6a5acd !important;
  font-size: 1em !important;
}

.lista-bullets-black {
  width: fit-content;
}

.lista-bullets-black li {
  width: fit-content;
}

ul.lista-bullets-black li::marker {
  /* fuerza un disco • */
  content: "•  ";
  display: inline !important;
  color: #333333 !important;
  font-size: 1em !important;
}

ul.lista-bullets {
  padding-inline-start: 1.5rem !important;
}

ul.lista-bullets-black {
  padding-inline-start: 1.5rem !important;
}

.paraDemoPay:hover {
  background-color: #d9e4ff;
}


.main_buttonHeroPay {
  border-radius: 10px;
  font-size: 16px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  width: fit-content;
  background-color: var(--color-naranjaDarker);
  transition: all .3s;
  background-color: transparent;
  backdrop-filter: blur(10px) !important;
  border: 2px solid #333333 !important;
}

.main-section--pasarela {
  background-image: url(../assets/img/fondo2.png);
  background-position-y: -190px;
  /* padding: 150px 235px 0 235px; */
  color: #333333;
  font-size: 1rem;
  margin: auto;
  max-width: 1920px;
  animation: moveIntop 1s ease-in-out;
}

.timeline-section {
  margin-top: 100px;
  display: flex;
  gap: 4.5rem;
  padding: 80px 235px;
  /* font-family: Arial, sans-serif; */
  background-color: #333366;
  /* border-radius: 5rem; */
  background: linear-gradient(0deg, #dedeffc2, #dedeff) no-repeat;
  border-top-right-radius: 5rem;
  border-top-left-radius: 5rem;
  /* color: white; */
  margin-bottom: 10rem;
}

.timeline-content {
  flex: 1;
}

.timeline-content h2 {
  margin: 0;
  font-size: 48px;
  margin-bottom: 1.5rem;
  line-height: 3.25rem;
}

/* TIMELINE: relativo para ubicar la línea punteada */
.timeline {
  position: relative;
  flex: 1;
}

/* #antes,
#despues-factura,
#despues-recibo {
    padding: 150px 380px 0 380px;
} */

/* El “wrapper” de 50px donde vive la línea y los iconos */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 80px;
  pointer-events: none;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 90%;
  /* centra el elemento dentro de esos 50px */
  width: 0px;
  border-left: 3px dotted #6a5acd;
}

/* Cada paso: icono + texto */
.timeline-item {
  display: flex;
  margin-bottom: 56px;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Columna de icono: siempre 50px */
.timeline-icon {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /* para que el círculo tape la línea */
}

.timeline-icon .circle {
  width: 80px;
  height: 80px;
  /* border: 4px solid #4b68ff; */
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a5acd;
  font-weight: 900;
  font-size: 40px;
}

/* Aquí podrías meter tu <img> dentro del .circle */

/* Columna de texto */
.timeline-text {
  flex: 1;
  padding-left: 1.5rem;
}

.timeline-text h3 {
  margin: 0 0 1rem;
  margin-top: 26px;
  font-size: 20px;
  color: #6a5acd;
}

.timeline-text ul {
  margin: 0;
  padding-left: 20px;
}

.timeline-text li {
  margin-bottom: 4px;
  /* font-size: 0.95em; */
  /* color: #555; */
}



.integrations-section {
  /* max-width: 1200px; */
  padding: 0 235px;
  margin: 0 auto;
  text-align: center;
  /* margin-top: 100px; */
}

.integrations-section_title {
  max-width: 53rem;
  margin: auto;
  margin-bottom: 5rem;
}

.integrations-section h1 {
  font-size: 48px;
  margin-bottom: 1rem;
  line-height: 3.25rem;
}

.integrations-section p {
  font-size: 1rem;
  /* margin-bottom: 40px; */
  line-height: 1.5;
}

.integrations-grid {
  grid-column-gap: 1rem;
  grid-row-gap: 3.5rem;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  display: grid;
}

.integration-card {
  background: #f0f1f8;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  padding-top: 3.25rem;
  border: 1px solid #333366;
  /* color: #fff; */
  position: relative;
  /* overflow: hidden; */
  /* min-height: 140px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.integration-card .icon {
  position: absolute;
  inset: 0% 0% auto;
  margin-top: -2.5rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 50%;
  padding: 12px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-card .icon img {
  max-width: 100%;
  max-height: 100%;
}

.integration-card h3 {
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.modules-list {
  padding: 0 235px;
  margin-bottom: 10rem;
}

:root {
  --icon-primary: #6A5ACD;
  /* tu color “principal” */
  --icon-secondary: #FFBF00;
  /* tu color “secundario” */
}

.integration-card .icon svg {
  /* “inyectás” los valores que definiste: */
  --primary: var(--icon-primary);
  --secondary: var(--icon-secondary);
}

.lista-bullets li:last-child {
  margin-bottom: 0;
}

.miVideo {
  height: 650px;
  width: fit-content;
}

@media (max-width: 1700px) {

  .integrations-section,
  .modules-list {
    padding: 0 60px;
  }

  .timeline-section {
    padding: 60px;
  }

  .module-card {
    height: 200px;
  }

  .detail,
  .summary {
    padding: 30px;
  }

  .detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 1300px) {
  .container-celu {
    flex-direction: column;
    align-items: center;
  }

  .container-celu_textos {
    text-align: center;
  }

  .celu-callToAction {
    width: fit-content;
    display: block;
    margin: auto;
  }

  .lista-bullets-black {
    margin: auto;
  }

  .subtitl-e_container {
    padding: 0 30px;
  }

  .timeline-section {
    flex-direction: column;
    margin: auto;
    margin-bottom: 64px;
    /* max-width: 1400px; */
    /* width: 90%; */
    padding: 100px 30px;
  }

  .gozepelinClass-img-2,
  .gozepelinClass-img {
    display: none;
  }

  .modules-list {
    padding: 0 30px;
    margin-bottom: 64px;
  }

  .module-card {
    height: 150px;
  }


}

@media (max-width: 1120px) {

  .subtitl-e_container {
    margin-bottom: 44px;
  }

  .integrations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary {
    display: none;
  }

  .detail {
    position: static;
    transform: inherit;
    padding: 30px;
    width: 100%;
    background: #f0f1f8;
    border: 2px dashed #333366;
    color: #222244;
  }

  .detail h3 {
    display: block;
    font-size: 25.5px;
    font-weight: 700;
    color: #222244;
    margin-bottom: 10px;
  }

  .module-card {
    height: auto;
  }

  ul.lista-bullets li::marker {
    color: #222244 !important;
  }


}

@media (max-width: 900px) {

  .h1_index {
    font-size: 9vw !important;
    /* margin-top: 0; */
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    /* line-height: 45px; */
    margin-top: 0 !important;
    margin-left: 60px !important;
    line-height: 80px !important;
  }

  .h2_index {
    display: block !important;

  }
}

@media (max-width: 750px) {
  .back_image-pasarela::before {
    content: none !important;
  }

  .h1-h2_index {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    

  }

  .h1_index {
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .h2_index {
    display: block !important;
    padding: 0 !important;
    margin-left: 0 !important;

  }

  .h1-h2_index a {
    margin: auto;
  }
}
@media (max-width: 700px) {
    .h1_index {
    font-size: 45px !important;
    /* margin-top: 0; */
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    /* line-height: 45px; */
    margin-top: 0 !important;
    margin-left: 0px !important;
    line-height: 60px !important;
  }
}

@media (max-width: 400px) {
    main {
        padding-top: 75px !important;
    }
}

@media (max-width: 550px) {

  .subtitl-e {
    font-size: 36px;
  }

  .container-celu {
    flex-direction: column;
    align-items: center;
  }

  .container-celu_textos {
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
  }

  .celu-callToAction {
    width: fit-content;
    display: block;
    margin: inherit;
  }

  .lista-bullets-black {
    margin: inherit;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .detail {
    padding: 15px;

  }

  .subtitl-e_container {
    padding: 0 30px;
  }

  .integrations-section,
  .modules-list {
    padding: 0 30px;
  }

  .timeline-section {
    padding: 30px;
  }

  .timeline-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .timeline-section {
    margin-bottom: 64px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .miVideo {
    height: auto;
    width: 90%;
  }

}