
/** COMPONENTE POTENCIÁ TUS */
.products-section {
    padding:30px 5vw 50px 5vw;
    border-top: 2px solid var(--fid-300);
    border-bottom: 2px solid var(--fid-300);
    background-color: #F1F5F9;
    text-align: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

/* Títulos */
.titulo-seccion {
    font-size: 30px;
    font-weight: 700;
    color: var(--fid-primary);
}

.subtitulo-seccion {
    max-width: 900px;
    margin: 0 auto;
    font-size:18px;
}

.productos-grid{
    display: flex;
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 3%;
}
.productos-grid-2{
    display: flex;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
}
/* ITEM */
.producto-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 439px;
}

/* ÍCONOS */
.producto-item i {
    font-size: 30px;
    color: var(--fid-500);
    flex-shrink: 0;
}

/* TEXTO */
.productos-grid .producto-text{
    width: 80%;
}
.productos-grid-2 .producto-text{
    width: 65%;
}
.producto-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--fid-primary);
    margin-bottom: 4px;
}

.producto-item p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* ===== Products: hover claro (subrayado + icono crece) ===== */
.products-section a.producto-item{
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease;
}

.products-section a.producto-item:hover{
  transform: translateY(-2px);
}

/* Subrayado del título (h4) solo en hover */
.products-section a.producto-item h4{
  margin-bottom: .25rem; /* por si lo necesitás */
  text-decoration: none;
}

.products-section a.producto-item:hover h4{
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Icono: escala suave (soporta <i> con icon fonts y tu <svg>) */
.products-section a.producto-item .me-2{
  display: inline-flex;
  align-items: flex-start;
}

.products-section a.producto-item .me-2 i{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  transition: transform .18s ease;
}

.products-section a.producto-item:hover .me-2 i{
  transform: scale(1.12);
}

/* Por si el SVG no escala “lindo” dentro del i */
.products-section a.producto-item .me-2 svg{
  display: block;
  transform-origin: center;
  transition: transform .18s ease;
}

.products-section a.producto-item:hover .me-2 svg{
  transform: scale(1.12);
}

/* ========================= */
/* TABLET */
/* ========================= */
@media (max-width: 992px) {
    .productos-grid,
    .productos-grid-2 {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .products-section .titulo-seccion{
      font-size: 24px;
    }

    .products-section .subtitulo-seccion{
      font-size: 16px;
    }

    /* ocultar scrollbar – Chrome / Safari / Edge */
    .productos-row-container::-webkit-scrollbar {
      display: none;
    }

    /* Firefox */
    .productos-row-container{
      scrollbar-width: none;      /* Firefox */
      -ms-overflow-style: none;   /* IE / Edge viejo */
    }

    /* EL SCROLL VIVE ACÁ */
    .productos-row-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
    }

    /* AMBAS FILAS SE COMPORTAN IGUAL */
    .productos-grid,
    .productos-grid-2 {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 24px;
        padding: 0;
        width: max-content;
        margin-top: 24px;
        padding-left: 5vw;
    }

    /* Cards */
    .producto-item {
        flex: 0 0 65vw;     /* ancho real */
        max-width: 65vw;
        align-items: flex-start;
    }

    .producto-text {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .producto-item {
        align-items: center;
    }
}


/**FIN DE POTENCIA TUS */

/** COMPONENTE APLICACIONES NUESTRO (SIN SCROLL) */

.industrias-section {
  background: linear-gradient(90deg, #FFF 0%, var(--100-gris, #ECECEC) 50.18%, #FFF 100%);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, #ffffff 0%, var(--neutral-300) 50%, #ffffff 100%) 1;
  margin-bottom: 5vh;
}

/* GRID: 5 items en desktop, sin overflow */
.industrias-carrousel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 20px;

  overflow: visible;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* ITEM */
.industria-item {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* IMAGEN */
.industria-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

/* Overlay azul */
.industria-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 84, 160, 0.45);
  pointer-events: none;
  border-radius: inherit;
}

/* Imagen */
.industria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO */
.industria-item span {
  margin-top: 12px;
  font-weight: 300;
}

/* ========================= */
/* TABLET */
/* ========================= */
@media (max-width: 992px) {
  .industrias-carrousel {
    grid-auto-flow: column;
    grid-template-columns: repeat(5, 240px);

    overflow-x: auto;
    gap: 18px;

    cursor: grab;
  }
  
  .industria-img {
    border-radius: 12px;
  }

  .industrias-carrousel::-webkit-scrollbar {
    display: none;
  }
}



/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 576px) {
  .industrias-carrousel {
    grid-auto-flow: column;
    grid-template-columns: repeat(5, 95vw);

    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    padding: 14px;

    scroll-snap-type: x proximity; /* 👈 clave */
    -webkit-overflow-scrolling: touch;

    cursor: grab;
  }

  .industria-item {
    scroll-snap-align: center;
  }
}



/**Fin de COMPONENTE APLICACIONES NUESTRO*/

.tec-inf-section{
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 10vw;
    margin-right: 10vw;
}

.tec-inf-section h4{
    color: var(--fid-dark);
}

.tec-inf-section .subtitle{
    color: var(--fid-dark);
    font-size: 1.15rem;
}

/* ===================== */
/* CARD BASE (DESKTOP) */
/* ===================== */
.tec-card{
    border-bottom: 1px solid var(--neutral-200);
    height: 15%;
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
}

.tec-card .img{
    width: 15%;
    display: flex;
    align-items: center;
}

.tec-card .img img{
    object-fit: contain;
    max-height: 90%;
}

.tec-card-content{
    width: 85%;
}

.tec-card-content h5{
    color: var(--fid-primary);
}

.tec-card-content span{
    color: var(--fid-dark);
    display: block;
}
.tec-partners{
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}
.tec-partners img {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
}
/* Media para imagenes */
@media (max-width: 1200px) {
    .tec-partners img {
        max-height: 80px;
        max-width: 150px;
    }
}
@media (max-width: 992px) {
    .tec-partners{
      gap: 2rem;
    }
    .tec-partners img {
        max-height: 70px;
        max-width: 120px;
    }
}
@media (max-width: 768px) {
    .tec-partners img {
        max-height: 60px;
        max-width: 100px;
    }
}
@media (max-width: 576px) {
    .tec-partners{
      gap: 0.5rem;
    }
    .tec-partners img {
        max-height: 50px;
        max-width: 80px;
    }
}
@media (max-width: 480px) {
    .tec-partners img {
        max-height: 40px;
        max-width: 70px;
    }
}

/* ===================== */
/* TABLET (≤ 992px) */
/* ===================== */
@media (max-width: 992px) {

    .tec-inf-section{
        margin-left: 6vw;
        margin-right: 6vw;
    }

    .tec-card{
        height: auto; /* clave */
    }

    .tec-card .img{
        width: 20%;
    }

    .tec-card-content{
        width: 80%;
    }
}

/* ===================== */
/* MOBILE (≤ 768px) */
/* ===================== */
@media (max-width: 768px) {

    .tec-inf-section{
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .tec-inf-section .subtitle{
        font-size: 1rem;
        text-align: center;
    }

    .tec-card{
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }

    .tec-card .img{
        width: 100%;
        justify-content: center;
    }

    .tec-card .img img{
        max-width: 180px;
        height: auto;
    }

    .tec-card-content{
        width: 100%;
        margin-left: 0 !important;
        align-items: flex-start;
    }

    .tec-card-content h5{
        font-size: 1rem;
        text-align: left;
    }

    .tec-card-content span{
        font-size: 0.95rem;
    }
}

/* ===================== */
/* MOBILE SMALL (≤ 480px) */
/* ===================== */
@media (max-width: 480px) {

    .tec-inf-section h4{
        font-size: 1.3rem;
    }

    .tec-card-content h5{
        font-size: 0.95rem;
    }

    .tec-card-content span{
        font-size: 0.9rem;
    }

    .tec-card .img img{
        max-width: 150px;
    }
}


/* ===============================
   MÓDULOS – CTA
================================= */

.modulos-cta{
  position: relative;
  background-image: url('/fidelitas_landing/img/fondo_blur_modulos.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 64px 0;
  margin-top: 12vh;
  margin-bottom: 5vh;
}

/* bordes gradiente (arriba y abajo) */
.modulos-cta::before,
.modulos-cta::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;

  /* centro transparente, puntas con color */
  background: linear-gradient(90deg,
    var(--fid-primary) 0%,
    rgba(15,51,90,0) 40%,
    rgba(15,51,90,0) 60%,
    var(--fid-primary) 100%
  );
}

.modulos-cta::before{ top: 0; }
.modulos-cta::after{ bottom: 0; }

/* ===== iconos ===== */

/* contenedor del icono (más grande) */
.modulo-ico{
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px auto;
}

/* bootstrap icons más grandes */
.modulo-ico i{
  font-size: 34px;
  color: var(--fid-primary);
}

/* svg como imagen */
.modulo-ico .modulo-svg{
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* texto cards */
.modulo-item p{
  font-size: 12px;
  line-height: 1.55;
  color: #1f2937;
  max-width: 360px;
  margin-inline: auto;
}
/* ===== Modulos CTA: hover sutil y claro ===== */
.modulos-cta a.modulo-item{
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}

/* si querés que “se note” un poco más que es clickeable */
.modulos-cta a.modulo-item:hover{
  transform: translateY(-2px);
}

/* Título: subrayado solo en hover */
.modulos-cta a.modulo-item .fw-bold{
  text-decoration: none;
  transition: text-decoration-color .18s ease;
}

.modulos-cta a.modulo-item:hover .fw-bold{
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Ícono: agranda un poco en hover */
.modulos-cta a.modulo-item .modulo-ico{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease;
  transform-origin: center;
}

.modulos-cta a.modulo-item:hover .modulo-ico{
  transform: scale(1.12);
}

/* Asegura que el SVG acompañe el scale (por si tuviera tamaños raros) */
.modulos-cta a.modulo-item .modulo-ico .modulo-svg{
  display: block;
  transition: transform .18s ease;
}
/* ===============================
   MODULOS – MOBILE HORIZONTAL
================================= */
@media (max-width: 992px) {
  .modulos-cta .container {
    max-width: 100%;
  }
    /* ocultar scrollbar – Chrome / Safari / Edge */
  .modulos-cta .container .row-container::-webkit-scrollbar {
    display: none;
  }

  /* Firefox */
  .modulos-cta .container .row-container {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE / Edge viejo */
  }

  /* el contenedor scrollea */
  .modulos-cta .container .row-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;

    padding-inline: calc((100vw - 90vw) / 2);
    scroll-padding-inline: calc((100vw - 90vw) / 2);

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* anulamos filas bootstrap */
  .modulos-cta .row {
    display: contents !important;
  }

  .modulo-item{
    width: 100%;
  }

  /* todas las columnas en una sola fila */
  .modulos-cta [class*="col-"] {
    flex: 0 0 60vw;
    max-width: 60vw;
    scroll-snap-align: center;
  }

  /* márgenes bootstrap off */
  .modulos-cta .row > * {
    margin: 0 !important;
  }

  /* sin hover en mobile */
  .modulos-cta a.modulo-item:hover {
    transform: none;
  }
}


