/* Font > Inter*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


/* --------------GENERAL */

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
  
:root{
--primary-color: #1A29E2;
--primary-color-light: #9DA9FC;
--secondary-color-dark: #16161D;
--secondary-color-gray: #585874;
--secondary-color-light-gray: #A8A8BD;
--opaque-color: rgba(26, 41, 226, 0.5);
--body-color:  #F3F3F1; /* ver ajuste en casos de bajo contraste */
}
body{
    font-family: "Inter", sans-serif;
    background-color: var(--body-color); 
}
header{
    height: 75px;
    width: auto;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color-dark);
}
h1{
  font-family: "Inter";
  font-size: 52px !important;
  font-weight: 700 !important;
}
h2{
  font-family: "Inter";
  font-size: 30px !important;
  font-weight: 700 !important;
}
.text-subtitle {
  font-family: "Inter";
  color: var(--secondary-color-gray);
  font-size: 20px !important;
  font-weight: 500 !important;
}
.text-subtitle-dark {
  font-family: "Inter";
  color: var(--secondary-color-dark);
  font-size: 22px !important;
  font-weight: 600 !important;
}
.text-subtitle-gray {
  font-family: "Inter";
  color: var(--secondary-color-gray);
  font-size: 22px !important;
  font-weight: 600 !important;
}
.title-white{
  color: white !important;
}
h4{
  font-family: "Inter";
  font-size: 18px !important;
  font-weight: 700 !important;
}
.nav-links a {
    text-decoration: none;
    color: rgba(30, 64, 175, 0.75);
    font-weight: 500;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    font-weight: 700; 
    color: var(--primary-color);
}
.main-header.scrolled {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.line-sg{
  height: 1px;
  background-color: var(--opaque-color);
  margin-bottom: 2rem;
  width: 67%;
  display: flex;
  justify-content: center;
}
.contenedor-line{
  display: flex;
  justify-content: center;
}

.contenedor-boton {
  padding-bottom: 5rem;
  text-align: center;
}
.btn-sg {
  background-color:rgba(30, 64, 175, 0.75);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-sg:hover {
  background-color: var(--primary-color);
}


/* --------------------------------BANNER */
body.body-home {
  background-image: url(../img/background_gradient.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}


/* Contenedor principal del carrusel */
.banner-section {
  width: 100%;
  min-height: 800px;
  padding-top: 300px;
  padding-left: 15%;
  padding-right: 15%;
  position: relative;
}

/* Carrusel interno */
.carousel-banner {
  margin: 0 auto;
  width: 100%;
}

/* Texto destacado */
.destacado-banner {
  font-weight: 800;
  font-style: italic;
  color: var(--primary-color);
}

/* Flechas del carrusel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.875rem;
  color: var(--opaque-color); 
  z-index: 50; 
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
}

.carousel-arrow:hover {
  color: var(--primary-color);
}

.left-arrow {
  left: 4rem; 
}

.right-arrow {
  right: 4rem;
}


/* dots de navegacion */
.carousel-dots-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dot {
  width: 3rem;
  height: 0.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  background-color: var(--opaque-color);
}

.dot.active {
  background-color: var(--primary-color);
}

/* --------------lo que hacemos */  

.section-que-hacemos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    margin-bottom: 120px;
}
.card-box {
  position: relative;
  width: 400px;
}
.card-box-img {
    border-radius: 1rem;
    overflow: hidden;
}
.img-card {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.card-box-content {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 250px;
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.card-box-title{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color:var(--secondary-color-dark)
  }
.card-box-text {
    font-size: 16px;
    color: var(--secondary-color-gray)
  }
.cabecera-card {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    margin-top: 3rem;
  }


/* --------------nos destacamos */ 

.section-destacamos{
  padding: 3rem 1rem;
  text-align: center;
  padding-bottom: 5rem;
}
.destacamos-grid{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 4rem;
}
.destacamos-item{
  flex: 1;
  color: var(--secondary-color-gray);
  font-size: 1rem;
  line-height: 1.5;
}
.vertical-line-sg {
  width: 1px;
  height: 80px;
  background-color: var(--opaque-color);
}
.destacamos-item p{
  font-size: 20px;
  color: var(--secondary-color-gray);
}


/* --------------servicios */ 
.left-arrow-servicios {
  left: 5rem;
}

.right-arrow-servicios {
  right: 5rem;
}


/* Dots */
#dots div {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dots-servicios {
  display: flex;
  justify-content: center;
  margin-top: 2rem; 
  gap: 0.5rem; 
}


/* --------------productos */ 


.productos-header {
  text-align: center;
  max-width: 80%;
  margin: 0 auto 3rem;
}

.productos-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color-dark);
}

.productos-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 1rem;
  line-height: 1.6;
}

.productos-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .productos-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Men� lateral */
.productos-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .productos-menu {
    width: 35%;
  }
}

.btn-producto {
  background-color: white;
  color: var(--secondary-color-gray);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: left;
  border-radius: 1rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
  box-shadow: 0 0 0 transparent;
}

.btn-producto:hover {
  background-color: #e6edff;
}

.btn-producto.active {
  background-color: var(--primary-color);
  color: white;
}

/* Contenido derecho */
.productos-detalle {
  width: 100%;
}

@media (min-width: 1024px) {
  .productos-detalle {
    width: 65%;
  }
}

.detalle-box {
  background-color: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detalle-titulo {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.detalle-texto {
  font-size: 1rem;
  color: var(--secondary-color-gray);
  line-height: 1.6;
}

.contenedor-boton {
  text-align: center;
  padding-top: 5rem;
}

.btn-sg {
  background-color: #1a29e2;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-sg:hover {
  background-color: #1220b5;
}


/* --------------nosotros*/ 
.nosotros-section {
  padding: 4rem 1rem;
}

.nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .nosotros-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-nosotros {
  background: white;
  border-radius: 1rem;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  padding: 2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.img-wrapper-nosotros {
  margin-top: -90px;
}

.img-perfil {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 9999px;
}

.nombre {
  font-weight: bold;
  font-size: 1.125rem;
  margin-top: 1rem;
}

.cargo {
  font-size: 0.9rem;
  color: var(--secondary-color-gray); 
}

.mensaje {
  font-size: 0.9rem;
  color: var(--secondary-color-gray);
  margin-top: 1rem;
  padding: 0 1rem;
}

.linkedin-link img {
  width: 24px;
  height: 24px;
  margin-top: 1.5rem;
}


/* ----- CLIENTES SECTION ----- */
.clientes-section {
  padding: 4rem 1rem;
}

.clientes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.logo-cliente {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-cliente:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}


/* alianza - proveedores */
.seccion-alianzas {
  padding: 4rem 1rem;
}

.contenedor-alianzas {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
}

.columna-alianza {
  flex: 1;
  text-align: center;
}

.logos-alianza {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.logos-alianza img {
  width: auto;
  height: 130px;
  padding: 1rem;
  border-radius: 0.25rem;
}

.linea-vertical {
  width: 1px;
  background-color: var(--opaque-color);
  height: auto;
  min-height: 180px;
  align-self: center;
}


/* footer */

.footer-section {
  background-color: var(--secondary-color-gray);
  color: #ffffff;
  padding: 4rem 1rem 2rem;
  font-family: "Inter", sans-serif;
}

.footer-container {
  /*max-width: 1100px;
  margin: 0 auto;*/
}

.footer-header {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-header p {
  font-size: 1rem;
  color: #d1d5db;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.footer-column p,
.footer-column li {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-column li {
  list-style: none;
  font-weight: 600;
}

.footer-divider {
  border: none;
  border-top: 1px solid #6b7280;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social{
  display: flex;
}
.footer-bottom p {
  color: #e5e7eb;
  font-size: 0.85rem;
}

.footer-social a {
  margin-left: 1rem;
}

.footer-social img {
  width: 28px;
  height: 28px;
}

.footer-social img:hover {
  filter: none;
}




/* -------------------------------- Lo que hacemos*/

.que-hacemos-section {
  padding-top: 200px;
  padding-bottom: 200px;
}

.btn-sg {
  display: inline-block;
  background-color: #1a29e2;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-sg:hover {
  background-color: #1621b8;
}

/* --------------------------------Lo que hacemos - Proyectos*/
.seccion-proyectos-interna {
  padding: 4rem 1rem;
  padding-top: 200px;
}
.contenedor-proyectos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}
.columna-texto {
  flex: 1 1 500px;
}
.destacado {
  font-weight: 600;
}

.lista-proyectos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-proyectos li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--secondary-color-gray);
  font-size: 1rem;
}

.flecha-lista {
  color: var(--primary-color); 
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.columna-imagen {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
}

.imagen-proyecto {
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.seccion-proyectos-relacionados {
  padding: 4rem 1rem;
}

.contenedor-proyectos-relacionados {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.titulo-principal-proyectos {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.card-proyecto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-proyecto {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color-gray);
  margin-bottom: 2rem;
}

.imagen-laptop {
  width: 100%;
  max-width: 400px;
}

.img-laptop {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-metodologia {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.card-metodologia .numero {
  background-color: var(--primary-color-light);
  color: white;
  font-weight: bold;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.card-metodologia hr {
  border: none;
  border-top: 1px solid #d1d5db;
  margin-bottom: 1rem;
}

.card-metodologia .img-metodologia{
  width: 100%;
  height: auto;
  margin-top: auto;
  border-radius: 0.5rem;
  object-fit: contain;
}


.metodologia-grid > div:nth-child(4),
.metodologia-grid > div:nth-child(5) {
  margin-top: 2rem;
}








/* --------------------------------Lo que hacemos - Equipos ágiles*/

.ventajas-celulas,
.valores-nosotros {
  padding: 4rem 1rem;
}

.contenedor-ventajas,
.contenedor-valores,
.contenedor-bienestar {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.grid-ventajas,
.grid-chatbot,
.grid-valores,
.grid-bienestar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card-ventaja,
.card-chatbot,
.card-valores,
.card-bienestar {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-ventaja,
.img-chatbot,
.img-valores {
  width: 100%;
  /*max-width: 320px;*/
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.subtitulo-ventaja,
.subtitulo-resultados,
.subtitulo-valores {
  font-size: 1.125rem;
  font-weight: 500;
  color:var(--secondary-color-gray);
}


/* --------------------------------Lo que hacemos - Outsourcing TI*/
.outsourcing-section,
.desarrollo-section,
.diseno-section {
  padding: 4rem 1rem;
  padding-top: 200px;
}

.contenedor-outsourcing {
  max-width: 1200px;
  margin: 0 auto;
}

.flex-container-outsourcing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.outsourcing-text {
  flex: 1;
}

.titulo-seccion {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.parrafo-seccion {
  font-size: 1rem;
  color: var(--secondary-color-gray);
  line-height: 1.6;
}

.outsourcing-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img-seccion {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}

.ventajas-outsourcing {
  margin-top: 4rem;
}

.titulo-ventajas-outsourcing {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.lista-ventajas {
  list-style: none;
  padding: 0;
}

.lista-ventajas li {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.flecha-icono {
  color:var(--primary-color);
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.certificaciones-section {
  background-color: #f5f5f5;
  padding: 4rem 1rem;
}

.contenedor-certificaciones {
  max-width: 1200px;
  margin: 0 auto;
}

.texto-certificaciones {
  text-align: center;
  margin-bottom: 3rem;
}

.titulo-certificaciones {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.parrafo-certificaciones {
  font-size: 1rem;
  color: #4b5563;
  margin: 0 auto;
  line-height: 1.6;
}

.grid-certificaciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

.img-certificacion {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* -------------------------------- Servicios*/
.servicios-cards-section {
  padding: 4rem 1rem;
}

.contenedor-servicios-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}
.card-servicio {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
}
.img-servicio {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.contenido-card {
  padding: 1.5rem;
}
.titulo-card {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.texto-card {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}


/* --------------------------------servicios - desarrollo*/
.box-experiencia {
  background-color: white; 
}
.procesos-desarrollo {
  padding-bottom: 12rem;
}
.card-overlay {
  position: absolute;
  top: 11rem;       
  left: 50%;
  transform: translateX(-50%);
  width: 91.666667%;       
  background-color: #ffffff;
  border-radius: 1rem;     
  padding: 1.5rem;       
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.cliente-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 300px;
}
.cliente-logo {
  width: 100%;
  height: auto;
  max-width: 230px;
  margin-bottom: 1rem;
}
.cliente-info .cliente-nombre {
  font-size: 22px;
  font-weight: 500;
  color: var(--secondary-color-dark);
  margin-bottom: 0.25rem;
}
.cliente-info .cliente-entidad {
  font-size: 16px;
  color: var(--secondary-color-gray);
}


/* --------------------------------servicios - diseno*/
.btn-switch {
  background-color: #e5e7eb; 
  color: var(--secondary-color-gray); 
  transition: all 0.3s;
}

.btn-switch:hover {
  background-color: #e6edff;
}

.btn-switch.active {
  background-color: var(--primary-color);
  color: white;
}

/* -------------------------------- productos*/
.tab-custom {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: center;
  color: #444;
  background-color: #ffffff;
  border: 1px solid transparent;
  border-bottom: 2px solid #1a29e2;
  transition: background-color 0.3s, color 0.3s;
}

.tab-buttons {
  border-bottom: 2px solid #1a29e2; 
}

.tab-button {
  padding: 1rem 2rem;
  font-weight: 600;
  background-color: white;
  color: #4B4B63;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}


.tab-button.active {
  background-color: #1a29e2;
  color: white;
  border-color: #1a29e2 #1a29e2 white; 
  border-bottom: 0;
  z-index: 1;
  position: relative;
}
.tab-button.active {
  background-color: var(--primary-color) !important;
  color: white;
  border-color: var(--primary-color);
}
.tab-buttons {
  border-bottom: 2px solid #1427e2;
}
.tab-content-wrapper {
  border-radius: 0 0 0.5rem 0.5rem;
  min-height: 600px;
  overflow: hidden;
}
.tab-content {
  display: none;
}
.tab-content.block {
  display: block;
}
.tab-content,
.tab-content.block {
  transition: none !important;
  margin: 0 !important;
  padding: 0 !important;
}





/* -------------------------------- nosotros*/
.hero-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.header-background {
  position: absolute;
  inset: 0;
  background-image: url('../img/nosotros.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  z-index: -1;
}

/* timeline */
.timeline-container {
  position: relative;
  margin-top: 3rem;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb; 
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background-color: var(--primary-color); 
  transform: translateY(-50%);
  z-index: 1;
  transition: width 0.3s ease-in-out;
  width: 0%;
}

/* Flechas */
.timeline-line::before,
.timeline-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: solid #1A29E2;
  transform: translateY(-50%) rotate(45deg);
}
.timeline-line::before {
  left: 0;
  border-width: 0 0 2px 2px;
  margin-left: -4px; 
}

.timeline-line::after {
  right: 0;
  border-width: 2px 2px 0 0;
  margin-right: -4px;
}


.timeline-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  z-index: 10;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 auto;
  text-align: center;
  min-width: 120px;
  cursor: pointer;
}

.year-btn {
  background-color: var(--secondary-color-light-gray);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.year-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.circle {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background-color: white;
  border: 2px solid #cbd5e1;
  margin-top: 0.5rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.circle.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.desc {
  font-size: 0.875rem;
  color: var(--secondary-color-gray);
  margin-top: 0.5rem;
  line-height: 1.2;
  font-weight: normal;
}

.desc.active {
  color: var(--secondary-color-gray);
  font-weight: 600;
}

.img-bienestar {
  /*width: 100%;*/
  max-width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.grid-bienestar.pt-10 {
  align-items: center;
  justify-self: anchor-center; 
}
.card-bienestar {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 230px;
  height: auto;
}

/* -------------------------------- casos de exito general*/
.input-buscador-casos {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  color: var(--secondary-color-dark);
}
.buscador-casos {
  position: relative;
}

.icono-busqueda {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.input-buscador-casos {
  padding-left: 3rem; 
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  color: var(--secondary-color-dark);
}

.etiqueta-buscada {
  padding: 0.25rem 2rem;
  font-size: 0.875rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.etiqueta-buscada:hover {
  background-color: var(--primary-color);
  color: white;
}
.etiquetas-buscadas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.filtros-casos {
  background-color: white;
  box-shadow: 0 4px 12px rgba(55, 55, 55, 0.06);
}

.titulo-filtros {
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary-color-dark);
}

.btn-limpiar-filtros {
  font-size: 0.9rem;
  color: var(--secondary-color-gray);
}

.select-filtro {
  appearance: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  background-color: white;
  color: #111827;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.select-filtro:hover,
.select-filtro:focus {
  border-color: var(--primary-color);
  outline: none;
}


.select-filtro option {
  background-color: white;
  color: #111827;
}


.select-filtro option:checked {
  background-color: #e5e7eb; 
  color: #111827;
}


.select-filtro:focus + .select-arrow {
  color: var(--primary-color);
}

.card-caso{
  background-color: white;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  color: var(--primary-color);
  pointer-events: none;
  transform: translateY(-50%);
}

.contenedor-interior-casos {
  width: 85%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
.contenedor-casos.max-w-7xl.mx-auto.px-4 {
  padding-top: 5rem;
}

.card-resultado-caso-exito {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.card-resultado-caso-exito:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.imagen-card-caso-exito img {
  width: 100%;
  height: auto;
  display: block;
}

.contenido-card-caso-exito {
  padding: 1rem;
}


/* ------------------ casos de exito - Chatbot*/
.contenedor-detalle.max-w-7xl.mx-auto.px-4 {
  padding-top: 4rem;
}
.info-texto{
  padding-top: 4rem;
}
.nombre-caso {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color-dark);
}
.flecha-icono {
  font-size: 1.25rem;
}
.imagen-mockup {
  max-width: 280px;
  width: 100%;
  height: auto;
}
.icono-check {
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.carousel-guia-slide {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mockup-chatbot img {
  max-width: 500px;
  height: auto;
  border-radius: 1rem;
 /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
}

.dot {
  width: 32px;
  height: 4px;
  background-color: #d1d5db;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.dot.active {
  background-color: var(--primary-color);
}
.flecha-izquierda,
.flecha-derecha {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.logo-medio {
  height: auto;
  max-width: 200px;
  object-fit: contain;
}



.card-caso-relacionado {
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.slide-caso {
  width: 100%;
  max-width: 320px;
  transition: all 0.4s ease-in-out;

  transform: scale(0.9);
  z-index: 0;
}

.slide-caso.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}

.slide-caso.left,
.slide-caso.right {
  opacity: 0.5;
  z-index: 1;
}
.btn-carousel-arrow {
  border-radius: 9999px;
  padding: 0.75rem;
  font-size: 1.5rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
#track-similares {
  display: flex;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}






/* ------------------ casos de exito - */



/* -------------------------------- media*/
/* (?640px y <1024px) */
@media (max-width: 1024px) {
  .banner-section {
    min-height: 500px;
    padding-top: 150px;
    padding-left: 10%;
    padding-right: 10%;
  }
  .carousel-banner {
    margin: 0 auto;
    width: 100%;
  }
  .left-arrow {
    left: 2rem;
  }
  .right-arrow {
    right: 2rem;
  }
}

/* (?640px) */
@media (max-width: 640px) {
  .banner-section {
    min-height: 400px;
    padding-top: 120px;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
  }
  .carousel-banner {
    margin: 0 auto;
    width: 100%;
  }
  .container-banner h1 {
    font-size: 28px !important;
    line-height: 1.2;
  }
  .container-banner h4 {
    font-size: 16px !important;
    margin-bottom: 0.5rem;
  }
  .left-arrow,
  .right-arrow {
    font-size: 1.5rem;
    top: 90%;
    transform: translateY(-90%);
  }
  .left-arrow {
    left: 1rem;
  }
  .right-arrow {
    right: 1rem;
  }
  .carousel-arrow {
    font-size: 1.5rem; 
  }
  .section-que-hacemos{
    gap: 13rem;
  }
  .left-arrow-servicios {
    left: 1rem;
}
.right-arrow-servicios {
  right: 1rem;
}
.card-nosotros{
  margin-bottom: 4rem;
}


  
}


@media (max-width: 768px) {
  .destacamos-grid {
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
  }

  .vertical-line-sg {
    display: none;
  }

  .destacamos-item p {
    font-size: 18px;
  }
  .contenedor-proyectos {
    flex-direction: column;
    text-align: center;
  }

  .columna-texto, .columna-imagen {
    flex: 1 1 100%;
  }

  .imagen-proyecto {
    max-width: 100%;
  }
  .grid-proyectos {
    grid-template-columns: 1fr;
  }

  .titulo-proyecto {
    font-size: 1.125rem;
  }

  .img-laptop {
    max-width: 100%;
  }
  @media (max-width: 768px) {
    .grid-certificaciones {
      grid-template-columns: 1fr;
    }
  
    .texto-certificaciones {
      text-align: center;
    }
  }
  
}







