.sol-wrap{
  padding: 6rem 0;
}
.sol-h {
  
  font-size: 3.9rem;
  font-weight: 700;
  color: #0d1b4f;
  text-align: center;
  letter-spacing: .06em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.sol-row {
  display: flex;
  position: relative;
}

.sol-stack {
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  z-index: 10;
  pointer-events: none;
}

.sol-ghost {
  position: absolute;
  right: 0;
  border-radius: 50px 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .sol-ghost {
    display: none !important;
  }
}



.sol-card-wrap {
  flex: 1;
  min-height: 650px;
  position: relative;
}

.sol-card {
  width: 100%;
  border-radius: 0 50px 50px 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;

  background: #001341;
  clip-path: inset(-150px -150px -150px 0);
  /* Added display flex to allow the content to stretch but not wrap horizontally if width is small */
  display: flex;
  /*max-height: 630px;*/
}

.sol-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

#bonos-publicosy-privados .sol-bg {
     background-position: top;
}

.sol-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.85);
  opacity: 0;
  z-index: 3;
}

.sol-card.in {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
}

.sol-bg::before{
  content: "";
   position: absolute;
    inset: 0;
    
    /* degradado oscuro -> transparente */
    background:linear-gradient(90deg,rgba(9, 27, 68, 1) 0%, rgba(9, 27, 68, 0) 60%);
    /*background: linear-gradient(*/
    /*    90deg,*/
    /*    rgb(0 16 70) 0%,*/
    /*    rgb(0 16 70) 25%,*/
    /*    rgb(0 16 70 / 99%) 40%,*/
    /*    rgb(0 16 70 / 92%) 45%,*/
    /*    rgb(0 16 70 / 83%) 50%,*/
    /*    rgb(0 16 70 / 27%) 75%,*/
    /*    rgba(0, 16, 70, 0) 100%*/
    /*);*/

    z-index: 1;
}

/*.sol-card::after{*/
/*  content: "";*/
/*   position: absolute;*/
/*    inset: 0;*/
    
    /* degradado oscuro -> transparente */
/*    background: linear-gradient(*/
/*        90deg,*/
/*        rgb(0 16 70) 0%,*/
/*        rgb(0 16 70) 25%,*/
/*        rgb(0 16 70 / 99%) 40%,*/
/*        rgb(0 16 70 / 92%) 45%,*/
/*        rgb(0 16 70 / 83%) 50%,*/
/*        rgb(0 16 70 / 27%) 75%,*/
/*        rgba(0, 16, 70, 0) 100%*/
/*    );*/

/*    z-index: 1;*/
/*}*/

.sol-card.out-left {
}

.sol-card.out-right {
}

.sol-card.in {
  opacity: 1;
}

.sol-content {
    padding: 36px 24px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 2;
    width: 50%; /* Fixed width to prevent squishing when parent shrinks */
    min-width: 400px;
}

/* Base state for GSAP to animate */
.sol-card.in .sol-title,
.sol-card.in .sol-desc,
.sol-card.in .sol-btn {
    opacity: 0;
}

.sol-title {
  
  font-size: 3.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 0.9;
  text-transform: uppercase;
}

.sol-desc {
    font-size: 1.4rem;
    line-height: 1;
    color: rgba(255, 255, 255, .82);
    max-width: 588px;
    margin-bottom: 10px;
}

.sol-btn {
  display: inline-block;
  background: #2a5bff;
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  text-decoration: none;
  width: fit-content;
}

.sol-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
}

.sol-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.sol-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.sol-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a0aac8;
  border: none;
  cursor: pointer;
}

.sol-dot.active {
  background: #0d2060;
  transform: scale(1.4);
}

.sol-arrow {
  background: none;
  border: 1.5px solid #a0aac8;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.sol-autoplay-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.sol-autoplay-btn {
  border: 1.5px solid #a0aac8;
  border-radius: 50px;
  padding: 5px 16px;
  cursor: pointer;
  background: none;
}

.sol-prog {
  height: 3px;
  background: #d0d8ea;
  border-radius: 2px;
  overflow: hidden;
  width: 72px;
}

.sol-prog-bar {
  height: 100%;
  background: #2a5bff;
  width: 0;
}

@media(max-width: 991px) {
  .sol-wrap {
    padding: 3rem 0;
  }

  .sol-h {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .sol-row {
    flex-direction: column;
  }

  .sol-stack {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: auto !important;
    margin-top: 24px;
    order: 2;
  }

  .sol-stack {
    display: none !important;
  }

  .sol-card-wrap {
    min-height: 550px;
    width: 100%;
    order: 1;
    position: relative;
    margin-bottom: 160px;
  }

  .sol-card {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 0;
    max-height: none;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
  }

  .sol-card.in {
    position: relative !important;
    min-height: 550px;
  }

  .sol-bg::before {
    background: linear-gradient(90deg, rgb(9 27 68 / 98%) 0%, rgb(9 27 68 / 88%) 25%, rgba(9, 27, 68, 0.45) 55%, rgba(9, 27, 68, 0.10) 80%, rgba(9, 27, 68, 0) 100%);
  }

  .sol-content {
    padding: 30px 20px;
    justify-content: flex-end;
    min-height: 550px;
  }

  .sol-title {
    font-size: 2.2rem;
  }

  .sol-desc {
    font-size: 1.1rem;
  }
}

@media(max-width: 480px) {
  .sol-card-wrap, .sol-card.in, .sol-content {
    min-height: 480px;
  }
  
  .sol-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .sol-desc br {
    display: none;
  }
  .sol-desc {
    max-width: 91%;
}
  
}
