/* ===============================
   NAV ACTIVO (soluciones)
================================= */
.soluciones{
  text-decoration: underline !important;
  color: var(--fid-primary) !important;
  font-weight: bold;
}
.soluciones i{
  display: inline-block;
  transform: rotate(90deg);
}

/* ===============================
   BANNER SOLUCIONES
   Usa: style="--banner-bg: url(...)"
================================= */
.banner-soluciones{
  background-color: var(--fid-primary);
  background-image:
    linear-gradient(90deg,
      rgba(15,51,90,0.97) 0%,
      rgba(15,51,90,0.92) 12%,
      rgba(15,51,90,0.88) 26%,
      rgba(15,51,90,0.84) 40%,
      rgba(15,51,90,0.68) 55%,
      rgba(15,51,90,0.50) 68%,
      rgba(15,51,90,0.30) 80%,
      rgba(15,51,90,0.12) 90%,
      rgba(15,51,90,0.00) 100%
    ),
    var(--banner-bg);

  background-repeat: no-repeat, no-repeat;
  background-size: cover, 100%;
  background-position: left center, right center;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 50vh;
}

.banner-soluciones__content{
  width: 100%;
  margin: 5vh 5vw;
}

.banner-soluciones__text{
  max-width: 920px;
  color: #fff;
  padding: 24px 0;
}

.banner-soluciones__text h2{
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 14px 0;
}

.banner-soluciones__text p,
.banner-soluciones__text span{
  font-size: 18px;
  line-height: 1.55;
  opacity: .94;
  margin: 0;
}
@media(max-width: 1200px){
  .banner-soluciones{
    background-size: cover, 100%;
    background-position: center, center;
    padding:  0;
  }
}
@media(max-width: 1200px){
  .banner-soluciones{
    min-height: 40vh;
  }
}
@media (max-width: 768px){
  .banner-soluciones{
    background-image:
      linear-gradient(90deg,
        rgba(15,51,90,0.98) 0%,
        rgba(15,51,90,0.95) 40%,
        rgba(15,51,90,0.65) 65%,
        rgba(15,51,90,0.1) 85%
      ),
      var(--banner-bg);
    background-size: cover, cover;
    background-position: center, center;
    padding:  0;
  }
}

/* ===============================
   LAYOUT GENERAL SECCIONES
================================= */
.plataforma-section{
  margin: 9vh 5vw;
}

/* ===============================
   SECCIÓN GIF + ACCORDION
   Requiere wrapper .solu-page (scoped)
================================= */
.solu-page .plataforma-section.plataforma-gif-acc{
  display: flex;
  flex-direction: column; /* título arriba + cuerpo abajo */
  align-items: stretch;
  gap: 22px;
}

.solu-page .plataforma-title-top{
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.solu-page .plataforma-title-top .mid-title{
  max-width: 980px;
  color: var(--fid-primary);
}

/* Body: desktop 2 columnas, mobile 1 columna */
.solu-page .plataforma-body{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.solu-page .section-img{
  width: 100%;
  justify-content: flex-start;
}
.section-img.auditoria-img{
  margin-left: 8vw;
  width: 70% !important;
}

.solu-page .section-content{
  width: 100%;
  min-width: 0;
}

/* Mobile/tablet: apilar (imagen arriba) */
@media (max-width: 991.98px){
  .solu-page .plataforma-body{
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ===============================
   ACCORDION estilo cards
================================= */
.acc-fid{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-fid .accordion-item{
  border: 1px solid #E6EEF9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin: 0;
}

.acc-fid .accordion-button{
  border: 0;
  box-shadow: none !important;
  border-radius: 12px;
  white-space: normal;
}

.acc-fid .accordion-button:not(.collapsed){
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.acc-fid .accordion-body{
  border-top: 1px solid #E6EEF9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ===============================
   SOLU-RESUMEN
================================= */
.solu-resumen{
  padding: 5px;
  background: linear-gradient(90deg,
    rgba(15,51,90,0.02) 0%,
    rgba(15,51,90,0.04) 35%,
    rgba(15,51,90,0.07) 65%,
    rgba(15,51,90,0.12) 100%
  );
}

.solu-resumen-impe{
  padding: 5px;
  background: linear-gradient(90deg,
    rgba(227,173,46,0.03) 0%,
    rgba(227,173,46,0.06) 35%,
    rgba(227,173,46,0.10) 65%,
    rgba(227,173,46,0.18) 100%
  );
}

.solu-resumen__wrap{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 56px;
  align-items: start;
}

.solu-item{
  display: flex;
  gap: 14px;
  margin-bottom: 50px;
}

.solu-item__icon{
  width: 18px;
  height: 18px;
  margin-top: 6px;
  flex: 0 0 auto;
}

.solu-item__title{
  font-size: 18px;
  font-weight: 700;
}

.solu-item__body p{
  font-size: 16px;
}

.solu-resumen__right{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solu-resumen__img{
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  /* margin-bottom: 22px; */
}

.solu-resumen__more{
  display: block;
  /* width: 100%; */
  text-align: center;
  margin: 18px auto 0;
  font-size: 13px;
  font-weight: 700;
  opacity: .95;
  text-decoration: none;
}
.desk-hidden{
  display: none;
}

.link-no-deco{
  text-decoration: none !important;
  color: inherit;
}

.link-no-deco:hover,
.link-no-deco:visited,
.link-no-deco:focus{
  text-decoration: none !important;
  color: white;
}

.solu-resumen__more:hover{
  cursor: pointer;
  transform: translateY(-4px);
}

@media (max-width: 992px){
  .mob-hidden{
    display: none;
  }
  .desk-hidden{
    display: block;
  }
  .solu-resumen__wrap{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* CTA pill */
.btn-fidelitas-pill{
  align-self: center;
  border: 0;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  background: var(--fid-primary);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  width: 250px;
}
.btn-fidelitas-pill:hover{
  background-color: rgba(95, 138, 180, 0.2);
  color: var(--fid-primary);
  font-weight: bold;
  box-shadow: 0px 0px 8px var(--neutral-200) inset;
}

/* =============================== */
/* SOLU VENTAJA – FONDO RECORTADO */
/* =============================== */

.solu-ventaja {
  margin-top: 5vh;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

/* fondo 3/4 */
.solu-ventaja::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 100%;
  background-color: #2f5b89; /* mismo azul */
  border-radius: 28px 0 0 28px;
  z-index: 0;
}
/* imperium */
.solu-ventaja:has(.solu-ventaja__wrap-impe)::before {
  background-color: var(--imperium-100);
}

/* wrapper real */
.solu-ventaja__wrap,
.solu-ventaja__wrap-impe {
  padding-right: 5vw;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 64px;
  z-index: 1;
}

/* ================= */
/* IMAGEN IZQUIERDA */
/* ================= */

.solu-ventaja__imgbox {
  position: relative;
  margin-left: 5vw;
}

.solu-ventaja__img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}

/* ================= */
/* CONTENIDO DERECHA */
/* ================= */

.solu-ventaja__content {
  color: #fff;
}
/* Imperium */
.solu-ventaja__content-impe {
  color: var(--imperium-500);
}

.solu-ventaja__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.solu-ventaja__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}

.solu-ventaja__card h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

/* ================= */
/* RESPONSIVE */
/* ================= */

@media (max-width: 992px) {

  .solu-ventaja {
    padding-top: 0;
    padding-bottom: 5vh;
  }

  .solu-ventaja::before {
    margin-top: 20vh;
    width: 100%;
    border-radius: 0;
  }

  .solu-ventaja__wrap,
  .solu-ventaja__wrap-impe {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solu-ventaja__imgbox{
    margin-right: 5vw;
  } 

  .solu-ventaja__img {
    margin-left: 0;
    max-width: 100%;
  }

  .solu-ventaja__grid {
    grid-template-columns: 1fr;
  }

  .solu-ventaja__content,
  .solu-ventaja__content-impe{
    padding-left: 5vw;
  }
  .solu-ventaja__content h3,
  .solu-ventaja__content-impe h3{
    text-align: center;
  }
}

@media (max-width: 768px) {
  .banner-soluciones__text div{
    flex-direction: column;
  }
  .banner-soluciones__text h2,
  .banner-soluciones__text h3{
    width: 100%;
  }
}


/* Apilar imagen arriba + accordion abajo hasta 1200px */
@media (max-width: 1199.98px){
  .solu-page .plataforma-body{
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}
