* {
    padding: 0;
    margin: 0;
}




body {
    box-sizing: border-box;
    font-family: 'Nunito';
    letter-spacing: 0.5px;
   
    background-color: #f1efe7;
}


.btn i {
  margin: 0;
  padding: 0;
  vertical-align: middle;
 
}



        :root {  
            --bs-primary: #37465d;  /* Azul vibrante */  
            --bs-secondary: #a3051a; /* Gris oscuro */  
            --accent: #37465d;       /* Amarillo para CTAs */  
            --bs-light: #f1efe7; /* blanco */
            --bs-bg-light: #c4c4c4; /* Fondo gris claro */
            --bs-gray : #6c6c6c;
        }

        .text-primary-custom {
            color: var(--bs-primary) !important;
        }

        .text-logo {
            color:var(--bs-secondary);
        }
        
        /* Navbar Styles */
        .navbar {
          max-width: 100%;
            transition: all 0.3s ease;
            padding: 20px 0;
            color: #37465d;
        }

        .navbar-img {
          height: 100px;
          width: auto; 
          max-width: 160px;
        }
        
        .navbar.scrolled {
            background-color: #37465d;
            padding: 5px 0;
            box-shadow: 0 6px 24px rgba(0,0,0,0.18);
            
            border-radius: 32px;
            max-width: 1100px;
            margin: 5px auto 0 auto;
            left: 0;
            right: 0;
            position: fixed;
            top: 5px;
            z-index: 1050;
            transition: all 0.3s cubic-bezier(.4,2,.6,1);     
        }

        .navbar.scrolled .navbar-img{

            height: 65px;
            width: auto; 
            max-width: 120px;
        }
        .navbar.scrolled .btn-primary {
         
            background-color: var( --bs-light);
            color: #37465d;
        }

        
        .nav-link {
            position: relative;
            margin: 0 10px;
            color : #f1efe7;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--bs-bg-light);
            transition: width 0.4s ease;
        }
        .nav-link:hover {
            color: #f1efe7;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }


        
        /* Hero Video Section */
        .hero-video {
            position: relative;
            height: 100vh;
            overflow: hidden;
        }
        
        .hero-video video {
            position: absolute;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            z-index: 0;
            object-fit: cover;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
            padding: 0 20px;
        }
        
        .hero-title {

            font-weight: 700;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            margin-bottom: 20px;
        }

        .hero-title .char{
          opacity: 1;
          transform: translateY(60px);
        }

        .console-container {
 
        
        font-size:4em;
        text-align:center;
        height:200px;
        width:600px;
        display:block;
        position:relative;
        color:white;
        top:0;
        bottom:0;
        left:0;
        right:0;
        margin:auto;
}
.console-underscore {
   display:inline-block;
  position:relative;
  top:-0.14em;
  left:10px;
}
        
        .hero-subtitle {

            font-weight: 300;
            margin-bottom: 30px;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }
        
        .btn-primary {
            background-color: var(--bs-primary);
            margin-top: -0.23rem;
            border: none;
            padding: 12px 30px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        
        
        .btn-primary:hover {
            background-color: #f1efe7;
            color: var(--bs-primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
        }
        
        .btn-primary:active {
            transform: translateY(1px);
        }

        .btn-secondary {
            background-color: var(--bs-secondary);
            margin-top: -0.23rem;
            border: none;
            padding: 12px 30px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        
        
        .btn-secondary:hover {
            background-color: #f1efe7;
            color: var(--bs-primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
        }
        
        .btn-secondary:active {
            transform: translateY(1px);
        }
        
        .btn-accent {
            background-color: var(--bs-bg-light);
            color: var(--bs-primary);
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-accent:hover {
            background-color: var(--bs-bg-light);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(156, 151, 142, 0.2);
            color: var(--bs-secondary);
        }

        .editorial {
            display: block;
            width: 100%;
            height: 60px;
            max-height: 60px;
            margin: 0;
            z-index:5;
            bottom:0;
            position:absolute;
            left:0px;
            float:left;
          }
          
          .parallax1 > use {
            animation: move-forever1 10s linear infinite;
            &:nth-child(1) {
              animation-delay: -2s;
            }
          }
          .parallax2 > use {
            animation: move-forever2 8s linear infinite;
            &:nth-child(1) {
              animation-delay: -2s;
            }
          }
          .parallax3 > use {
            animation: move-forever3 6s linear infinite;
            &:nth-child(1) {
              animation-delay: -2s;
            }
          }
          .parallax4 > use {
            animation: move-forever4 4s linear infinite;
            &:nth-child(1) {
              animation-delay: -2s;
            }
          }
          @keyframes move-forever1 {
            0% {
              transform: translate(85px, 0%);
            }
            100% {
              transform: translate(-90px, 0%);
            }
          }
          @keyframes move-forever2 {
            0% {
              transform: translate(-90px, 0%);
            }
            100% {
              transform: translate(85px, 0%);
            }
          }
          @keyframes move-forever3 {
            0% {
              transform: translate(85px, 0%);
            }
            100% {
              transform: translate(-90px, 0%);
            }
          }
          @keyframes move-forever4 {
            0% {
              transform: translate(-90px, 0%);
            }
            100% {
              transform: translate(85px, 0%);
            }
          }
          
    /* Sección de imagen destacada con máscara y sombra personalizada */
.featured-image-border{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 4px solid #fff;
    padding: 10px; /* separación entre borde y la imagen */
    background: transparent;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    width: 360px; /* ajusta el tamaño según tu diseño */
    height: 360px;
}
.featured-image-section {
    max-width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50%;
    margin-right: -50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: var(--bs-primary);
    overflow: hidden;
}
.featured-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
}

.featured-image {
   border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

 /* Sección de lista descatada */
    .featured-list-card li {
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 10px;
    transition: background 0.3s;
    cursor: pointer;
    margin-bottom: 12px;
    color: var(--bs-primary)
}
.featured-list-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: none;
}

.featured-list-card i {
    font-size: 1.3rem;
    margin-top: 2px;
}




        
  .btn-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
    transition: background 0.2s;
    margin:auto;
}
.btn-circle:hover {
    filter: brightness(1.1);
}

/*clase de circulo en iconos de servicio */

.icon-circle,
.icon-circle2 {
    display: flex; /* Activar flexbox */
    align-items: center; /* Centrar verticalmente */
    justify-content: center;
    width: 3.2em;
    height: 3.2em;
    min-width: 3.2em;
    min-height: 3.2em;
    max-width: 3.2em;
    max-height: 3.2em;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(27, 27, 27, 0.267);
    overflow: hidden;
    border: 2.5px solid var(--bs-primary);
    transition: background 0.2s, border 0.2s;
}

.icon-circle i{
 
  margin: 0;
  padding: 0;
  vertical-align: middle;
  line-height: 1;
}

.icon-circle{
    background: #37465d; /* Fondo blanco por defecto */
}
.icon-circle2{
    background: #f1efe7;

}

.icon-border{
  display: flex;
  align-items:center;
  justify-content: center;
  width: 4.3em;
    height: 4.3em;
    min-width: 4.3em;
    min-height: 4.3em;
    max-width: 4.3em;
    max-height: 4.3em;
    
  border-radius: 50%;
  border: 2.5px solid var(--bs-primary);
}

.icon-border2{
  display: flex;
  align-items:center;
  justify-content: center;
  width: 4.3em;
    height: 4.3em;
    min-width: 4.3em;
    min-height: 4.3em;
    max-width: 4.3em;
    max-height: 4.3em;
  border-radius: 50%;
  border: 2.5px solid var(--bs-light);
}



/* Fondo blanco solo para iconos que lo requieran (por ejemplo, en servicios) */
.servicios-section .icon-circle,
.servicios-section .icon-circle2 {
   
    border: 2.5px solid var(--bs-primary);
    background: none;
}

/* Color de icono en la página principal: blanco */
#services .icon-circle2 i,
#services .icon-circle i {
    color:white;
}

#services{
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Color de icono en servicios: color primario */
.servicios-section .icon-circle2 i,
.servicios-section .icon-circle i {
    color: var(--bs-primary, #a3051a) !important;
}
/*animacion de iconos de servicio*/

.icon-animado {
    transition: transform 0.6s cubic-bezier(.4,2,.6,1);
    display: inline-block;
    will-change: transform;
}

.icon-animado:hover,
.service-card:hover .icon-animado {
    transform: rotateY(180deg) scale(1.0);
}

/* ==========================
   Imagen central optimizada
========================== */
.img-servicio-central {
  display: block;
  width: 100%;
  height: 50%; /* 🔴 ahora ocupará la altura disponible del contenedor */
  object-fit: cover; /* 🔴 llena el ancho y alto recortando si es necesario */
  clip-path: polygon(0 0, 100% 0, 100% 87%, 50% 80%, 0 87%);
  border-radius: var(--card-radius) var(--card-radius) 0 0; /* opcional: redondear igual que la tarjeta */
}

.img-service-central-container {
  width: 100%;
  height: 220px; /* 🔴 controlas altura del bloque aquí */
  overflow: hidden; /* asegura que la imagen no se desborde */
  margin: 0 auto;
  position: relative;
}


.btn-about-2 {
  display: none !important;
}



/* ==========================
   Tarjetas de servicios
========================== */
/* ===== Layout de tarjetas ===== */


:root{
  --gap: 1.25rem;
  --stage-w: clamp(320px, 36vw, 520px); /* ancho de la columna central (escenario) */
  --layout-h: clamp(520px, 66vh, 760px); /* alto total del bloque */
  --card-radius: 12px;
  --card-bg: #ffffff;
  --card-text: #1e2a38;
  --back-bg: #37465d;
}

/* Layout principal */
.services-layout{
  display: grid;
  grid-template-columns: 1fr var(--stage-w) 1fr;
  gap: var(--gap);
  max-width: 1300px;
  margin: 0 auto;
  height: var(--layout-h);
  align-items: stretch;
  position: relative;
  box-sizing: border-box;
  padding: 1rem;
}

/* Columnas laterales */
.left-col, .right-col{
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  height: 100%;
  box-sizing: border-box;
}

.left-col .service-card,
.right-col .service-card{
  flex: 1 1 0;
  min-height: 0;
}

/* Escenario central */
.services-stage{
  position: relative;
  border-radius: var(--card-radius);
  height: 100%;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events: none;
}

/* Tarjeta base */
.service-card{
  background: var(--card-bg);
  background-image: url("/assets/img/bg-texture-2.jpg");
  background-blend-mode: multiply;
  color: var(--card-text);
  border-radius: var(--card-radius);
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
  justify-content: flex-start;
  transition: transform .28s ease, box-shadow .28s ease;
  box-sizing: border-box;
  cursor: pointer;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.9);
}
.service-card ul{ color: #fff; }



/* Contenido frontal / trasero */
.service-card .card-body{ 
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  text-align:center; 
  gap:.5rem; 
  width:100%; 
}
.service-card .card-back{ display:none; }

/* CLON */
.clone{
  position:absolute;
  margin:0;
  left:0;
  top:0;
  z-index:999;
  border-radius: var(--card-radius);
  overflow:hidden;
  transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease, transform .3s ease, opacity .1s ease;
  pointer-events:none;
  box-shadow: 0 14px 40px rgba(0,0,0,0.7);
}

/* Fondo del clon: solo el back */
.clone.show-back {
  background: var(--back-bg) !important;
  color: #fff;
}

/* Fade + ocupar 100% */
.clone .card-body{ display:none; }
.clone .card-back{ display:none; }  

.clone.show-back .card-back{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;

  width: 100%;
  height: 100%;
  padding: 0;              /* elimina padding */
  margin: 0;
  
  background: var(--back-bg);
  color: #fff;
  border-radius: var(--card-radius);

  
  
}

.services-card ul , li {
    text-align: start;
 }

/* Animación de entrada del back */
@keyframes fadeInBack {
  from {transform: scale(0.98); }
  to {  transform: scale(1); }
}

/* Animación de entrada del clon */
.clone.entering{ opacity:1; transform: translateY(18px) scale(.98); }
.clone.entering.entering-active{ 
  opacity:1; 
  transform: translateY(0) scale(1); 
  transition:  transform .5s ease; 
}


 @media (max-width: 900px) {
  .services-layout {
    display: block; /* apilamos todo */
    height: auto;   /* altura automática */
  }

  /* ocultar el escenario central */
  .services-stage {
    display: none !important;
  }

  /* columnas laterales se vuelven listas verticales */
  .left-col, .right-col {
    display: block;
    width: 100%;
    height: auto !important;  /* <-- corrije el "vacío" */
  }

  /* tarjetas normales (una debajo de otra) */
  .service-card {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    flex: none !important;     /* <-- evita que intente crecer como en desktop */
    min-height: auto !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 1rem;
  }

  /* mostrar siempre el back y ocultar el front */
  .service-card .card-body {
    display: none !important;
  }
  .service-card .card-back {
    display: block !important;
    background: var(--back-bg);
    color: #fff;
    padding: 1rem;
    border-radius: var(--card-radius);
  }
}

@media (max-width: 900px) {
  /* centrar imágenes dentro de las tarjetas */
  .service-card img,
  .img-servicio-central {
    display: block;
    max-width: 90%;   /* que no choque con los bordes */
    height: auto;     /* mantiene proporción */
    margin: 0 auto 1rem auto;  /* centra horizontalmente */
    object-fit: contain;       /* evita deformación */
  }


 /* centrar títulos y párrafos */
  .service-card,
  .service-card .card-back,
  .service-card .card-body {
    text-align: center;
  }

  .service-card h3,
  .service-card h4,
  .service-card p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  } 
  
 .services-card ul , li {
    text-align: start;
 }

}




/* About Us Section*/

.about-img {
    max-width: 100%;
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 30%;
    border-bottom-left-radius: 10%;
    box-shadow: 24px -20px 0px rgb(38, 54, 80, 1);
}


/* ==== FIN DE SECCION ABOUT US PAGINA PRINCIPAL ==== */

/* Partners Section */
/* Partners Section */
.partners-section {
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

/* Animación de scroll infinito (escritorio) */
@keyframes infiniteScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Carrusel contenedor */
.brandsCarousel {
  max-width: 980px;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 0;
}

/* Sombras laterales */
.brandsCarousel::before,
.brandsCarousel::after {
  content: "";
  width: 200px;
  height: 100%;
  background: linear-gradient(
    to right,
    #f1efe7 10%,
    rgba(241, 241, 241, 0) 90%
  );
  position: absolute;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.brandsCarousel::before {
  left: 0;
}

.brandsCarousel::after {
  right: 0;
  transform: rotateZ(180deg);
}

/* Pista del carrusel (logos en movimiento) */
.carouselTrack {
  display: flex;
  gap: 45px;
  width: calc(160px * 27); /* Ajustado a la cantidad de logos (7 + 7 clones) */
  animation: infiniteScroll 20s linear infinite;
  will-change: transform;
}

/* Detener animación al hacer hover (solo en escritorio) */
.brandsCarousel:hover .carouselTrack {
  animation-play-state: paused;
  cursor: pointer;
}

/* Logo individual */
.brandLogo {
  flex: 0 0 auto;
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
}

.carouselTrack .brandLogo:last-child {
  margin-right: 0;
}

.brandLogo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

/* 📱 Adaptación para móviles */
@media (max-width: 768px) {
   .carouselTrack {
    animation: none !important;
    width: auto;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .carouselTrack::-webkit-scrollbar {
    display: none;
  }

  .brandsCarousel {
    overflow-x: auto;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .brandsCarousel::-webkit-scrollbar {
    display: none;
  }

  .brandsCarousel:hover .carouselTrack {
    animation-play-state: running !important;
  }

  .brandsCarousel::before,
  .brandsCarousel::after {
    display: none;
  }
}



/* Testimonials Section */

        .testimonial-card {
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transform-style: preserve-3d;
            transform: rotateY(0deg) rotateX(10deg);
            transition: all 0.5s ease;
            margin: 20px 0;
        }
        
        .testimonial-card:hover {
            transform: rotateY(0deg) rotateX(0deg);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .testimonial-quote {
            font-style: italic;
            position: relative;
            padding-left: 30px;
        }
        
        .testimonial-quote::before {
            content: '\f10d';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0;
            color: var(--accent);
            opacity: 0.3;
            font-size: 24px;
        }

#testimonials-section {
    position: relative;
    background:
    linear-gradient(rgba(55, 70, 93, 0.63), rgba(55, 70, 93, 0.658)),
    url('/assets/img/bg/testimonials-photo.webp') center center/cover no-repeat;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
    linear-gradient(rgba(55, 70, 93, 0.74)), rgba(55, 70, 93, 0.63),
    url('/assets/img/bg/testimonials-photo.webp') center center/cover no-repeat;
    opacity: 0.25; /* Ajusta la opacidad según lo que desees */
    z-index: 1;
}


.testimonials-section > .container,
.testimonials-section .row,
.testimonials-section .testimonial-card {
    position: relative;
    z-index: 3;
}



/*Nueva  Testimonials Section */


    .slider-section {
        
        background-color: rgba(241, 239, 231, 0.1);
        box-shadow: 1px 1px 10px 0px #8a898977;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50vh;
        margin: 0;
        border-radius: 20px;
      }

      .slider-container {
        width: 90%;
        height: 350px;
        overflow: hidden;
        border-radius: 8px;
      }

      .slider-content {
        display: flex;
        width: 210%;
        transition: transform 0.5s ease-in-out;
      }

      .review-card {
        width: 280px;
        height: 250px;
        box-shadow: 1px 1px 10px 0px #0000001a;
        border-radius: 10px;
        margin-right: 20px;
        padding: 20px;
        box-sizing: border-box;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      .heading .name-cus {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 5px;
        color: #37465d;
      }
      .review-card .prop {
        font-size: 14px;
        line-height: 1.;
        color: #37465d;
        margin-bottom: 15px;

      }
 
.rating-image {
  margin-top:-15px;
  margin-left:-8px;
}
      .review-card:last-child {
        margin-right: 0;
      }
      .flex-profile {
        display: flex;
        gap: 40px;

        align-items: center;
      }

      .prev,
      .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 40px;
        color: #fff;
        background-color: transparent;
        border: none;
        padding: 30px;
        outline: none;
      }

      .prev {
        left: 0;
      }
      .next {
        right: 0;
      }

      @media (max-width: 600px) {
        .review-card .prop {
          font-size: 12px;
          line-height: 1.6;
          color: #37465d;

        }

        .prev,
        .next {
          color: #37465d;
        }

        .slider-section {
          height: auto;
          background-color: transparent;
        }

        .review-card {
          width: 90%;
          height: auto;
          
        }
      }

      @media (min-width: 601px) and (max-width: 991px) {.slider-section{
          height: 80vh;
        }
         .prev,.next {
          padding: 10px;
         }

         .review-card {
          width: 280px;
        height: 400px;
         }
         .review-card .prop {
          font-size: 13px;
          line-height: 1.6;
          color: #37465d;

      }}

        

/* blog Section */

.blog-section {
    position: relative;
    background: url('/assets/img/bg/blog-sect-bg.webp') center center/cover no-repeat;
    /* Elimina overlays y colores de fondo */
    overflow: hidden;
}

.blog-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/img/bg/blog-sect-bg.webp') center center/cover no-repeat;
    opacity: 0.25; /* Ajusta la opacidad según lo que desees */
    z-index: 1;
}

.blog-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #c4c4c4;
    opacity: 0.9; /* Ajusta para oscurecer/aclarar el fondo */
    z-index: 2;
}

.blog-section > .container,
.blog-section .row,
.blog-section .card {
    position: relative;
    z-index: 3;
}
        
        /* FAQ Section */
        #faq{
          width: 100%;
          background: #37465d;
        }
        .accordion-button {
            font-weight: 500;
            padding: 20px;
        }
        
        .accordion-button:not(.collapsed) {
            background-color: rgba(37, 99, 235, 0.05);
            color: var(--bs-primary);
        }
        
        .accordion-button::after {
            transition: transform 0.3s ease;
        }
        
        .accordion-button:not(.collapsed)::after {
            transform: rotate(90deg);
        }
        
        
        /* Map Container */
        .map-container {
            width: 100%;
            height: 70vh;
            box-sizing: border-box; /*  Para incluir relleno y borde en el ancho total */
            overflow: hidden;
            background: #37465d;
            margin-bottom: 0;
            
        }
        #map {
            width: 100%;
            height: 90%;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        /* Footer */
        footer {
            background-color: #f1efe7;
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-links a {
            color: var(--bs-primary);
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            margin-bottom: 10px;
        }
        
        .footer-links a:hover {
            color: var(--bs-primary);
            transform: translateX(5px);
        }
        
        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: var(--bs-primary);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            color:white;
            margin-right: 10px;
            transition: all 0.3s ease;
        }

        .social-icons i{
          margin: 0;
          padding: 0;
          vertical-align: middle;
          line-height: 1;
        }
        
        .social-icons a:hover {
            background-color: var(--accent);
            color: var(--bs-secondary);
            transform: translateY(-3px);
        }

        .footer-logo{
           height: 70px;
           width: auto; 
           max-width: 120px;
           vertical-align: middle; 
           margin-right: 2px;
        }

        .footer-company-name{
          font-size: 20px;
        }

      

        /* Botón flotante para ir arriba */
#btn-top {
    display: none;
    position: fixed;
    bottom: 25px; /* Subido para que no se solape con el chatbot */
    right: 20px;
    z-index: 999;
    background: #37465d;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    overflow-x: hidden;
}

    #btn-top:hover {
    background: #a3051a;
    transform: translateY(-4px) scale(1.08);
}

#btn-top i {
   
  margin: 0;
  padding: 0;
  vertical-align: middle;
  line-height: 1;
}


        
        /* Floating Animation */
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }


.whatsapp-float {
  
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 35px;
  width: 55px;
  height: 55px;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
  text-decoration: none;
  margin-bottom: 10px ;
  display: flex; 
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.whatsapp-float i {
  
  margin: 0;
  padding: 0;
  vertical-align: middle;
  line-height: 1;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
}

/* contact section*/
#contact {
    background: #37465d; /* Cambia este color por el que prefieras */
}

.bg-primary-custom {
    background: #37465d !important;
}
.card {
    border-radius: 1rem;
}

.contact-info-card {
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: "";
    position: absolute;
    right: -165px;   /* Ajusta para que sobresalga la esquina */
    top: 60%;       /* Empieza desde la mitad vertical */
    width: 350px;   /* Tamaño del círculo */
    height: 420px;  /* Tamaño del círculo */
    background: #c4c4c4; /* Color del círculo */
    border-radius: 50%;
    z-index: 2;
    /* Solo muestra la mitad inferior */
 
    /* Opcional: puedes ajustar el box-shadow o el tamaño para el efecto deseado */
    /* Si quieres solo el círculo sin sombra, elimina box-shadow */
}


/* Bordes de los campos del formulario de contacto */
#contact .form-control {
    border: 1px solid #37465d; /* Cambia este color por el que desees */
    box-shadow: none;
    background-color: #fff;
    color: #37465d;
}

#contact .form-control:focus {
    border-color: #37465d; /* Mismo color para mantenerlo fijo */
    box-shadow: none;
    background-color: #fff;
    color: #37465d;
}

.contact-icon{
  background: white;
  color: #37465d;
}
        
 

        /* ===== Pagina de servicios ===== Pagina de servicios ===== Pagina de servicios ===== Pagina de servicios */


       /* filtro de video*/
       
       .video-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden; /* Esto es clave */
    background: transparent; /* Asegura que no haya fondo blanco */
    margin: 0 auto;
    max-width: 50vw;
    
}
.video-overlay {
    position: absolute;
    inset: 0;
    background:
        
        rgba(36, 58, 105, 0.45);
    background-size: cover;
    pointer-events: none;
    border-radius: 1rem;
    transition: opacity 0.5s;
    z-index: 2;
    mix-blend-mode: multiply;
   
}

/* Corrige esquinas blancas en videos dentro de .ratio */
.ratio,
.ratio > * {
    border-radius: 1rem !important;
    overflow: hidden !important;
    
}


.video-wrapper.playing .video-overlay {
    opacity: 0;
}

#introVideo {
    border-radius: 1rem;
    display: block;
    width:100%; 
}

.btn-play-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    opacity: 0.95;
}
.btn-play-custom:hover {
    background: #2c3750;
    transform: translate(-50%, -50%) scale(1.08);
}

.btn-play-custom i {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    line-height: 1;
}

/* Tarjetas de introducción servicios */
.intro-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(55,70,93,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--bs-primary);
}
.intro-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(55,70,93,0.15);
}
.intro-card .card-title {
    color: #37465d;
}

/* Fondo de la sección de servicios */
.servicios-section {
    position: relative;
    background:
        linear-gradient(rgba(55, 70, 93, 0.85), rgba(55, 70, 93, 0.85)),
        url('/assets/img/bg/servicios-bg.webp') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Centrado vertical en toda la pantalla */
    padding: 0;
}

/* CTA debajo del círculo */
.cta-detalle-wrapper {
  z-index: 5;
  position: relative;
  margin-top: -50px;
}
#cta-ver-detalle {
  border: 2px solid #fff;
  color: #37465d;
  background: #f1efe7;
}
#cta-ver-detalle:hover {
  background: #ffffff;
  color: #37465d;
}


/*tarjetas de servicios*//*tarjetas de servicios*//*tarjetas de servicios*//*tarjetas de servicios*/

/* nuevo estilo de servicios */
.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: auto;
  background: #f1efe7;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: 400px;
  transition: all 0.3s;
}
@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }

  .blog-slider li{
    text-align: start;
  }
}
@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }

  .blog-slider li{
    text-align: start;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }

  .blog-slider li{
    text-align: start;
  }
}
.blog-slider__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}
.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
  transition-delay: 0.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
  transition-delay: 0.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
  transition-delay: 0.7s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
  transition-delay: 0.8s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
  transition-delay: 0.9s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
  transition-delay: 1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
  transition-delay: 1.1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
  transition-delay: 1.2s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
  transition-delay: 1.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
  transition-delay: 1.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
  transition-delay: 1.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
  transition-delay: 1.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
  transition-delay: 1.7s;
}
.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  background-image: linear-gradient(147deg, #6c6c6c 0%, #37465d 80%);
  box-shadow: 4px 5px 5px 1px rgba(71, 90, 119, 0.2);
  border-radius: 20px;
  transform: translateX(-80px);
  overflow: hidden;
}
.blog-slider__img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(160deg, #6c6c6c 60%, #37465d 80%);
  border-radius: 20px;
  opacity: 0.1;
}
.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}
.blog-slider__content {
  padding-right: 25px;
}
@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}
.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}
.blog-slider__code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}
.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: #37465d;
  margin-bottom: 20px;
}
.blog-slider__text {
  color: #37465d;
  margin-bottom: 30px;
  line-height: 1.5em;
}
.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #a3051a 0%, #37465d 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}
@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}
.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets,
.blog-slider .swiper-pagination-custom,
.blog-slider .swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 20px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 205px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}
.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #062744;
  opacity: 0.2;
  transition: all 0.3s;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #a3051a;
  height: 30px;
  box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}



/* ==== FIN DE ESTILOS PARA TARJETAS DE SERVICIOS ==== */

/* ==== SECCION DEL TIMELINE SOBRE LA EMPRESA ==== */

.timeline-container{
  width: 100%;
}
.timeline-section{
    position: relative;
    background:
        linear-gradient(rgba(196, 196, 196, 0.842), rgba(196, 196, 196, 0.842)),
        url('/assets/img/bg/about-us.webp') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Centrado vertical en toda la pantalla */
    padding: 0;
    
}

.cd-container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 10%;
  border-radius: 2px;
}
.cd-container::after {
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */


#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  width: 4px;
  background: #37465d;
}
.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}


.cd-timeline-img {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e3051a, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline-img {
  background: #c4c4c4;
}


.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  margin-right: 30px;
  background: #37465d;
  border-radius: 15px;
  padding: 1em; }

.cd-timeline-content hr {
  width: 60%;
  border: none;
  height: 2px;
  background-color: #c4c4c4;
  margin: 0.5rem auto 1rem;
}

.timeline-content-info {
    background: #e3051a;
    padding: 5px 10px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    box-shadow:  inset 0 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}
i {
      margin-right: 5px;
    }
    .timeline-content-info-title, .timeline-content-info-date {  
      width: calc(50% - 2px);
      display: inline-block;
    }
  
  .content-skills {
    font-size: 12px;
    padding:0;
    margin-bottom: 0;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    li {
      background: #40484D;
      border-radius: 2px;
      display: inline-block;
      padding: 2px 10px;
      color: rgba(255,255,255,0.7);
      margin: 3px 2px;
      text-align: center;
      flex-grow: 1;
    }
  }

.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-content h2 {
  color: rgba(255,255,255,.9);
  margin-top:0;
  margin-bottom: 5px;
}
.cd-timeline-content p, .cd-timeline-content{
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-size: 0.8125rem;
}

.cd-timeline-content {
  display: inline-block;
}
.cd-timeline-content p {
  margin: 1em 0;
  line-height: 1.6;
}

.cd-timeline-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #333C42;
}



/* ==== FIN DE SECCIÓN TIMELINE SOBRE LA EMPRESA ==== */

/* ==== INICIO PAGINA DE NOSOTROS ==== */ /* ==== INICIO PAGINA DE NOSOTROS ==== */ /* ==== INICIO PAGINA DE NOSOTROS ==== */ /* ==== INICIO PAGINA DE NOSOTROS ==== */

/* ==== SECCION TIMELINE HISTORIA DE LA EMPRESA ==== */

:root {
    --color-accent-light: #6c6c6c;
    --color-accent-dark: #e3051a;
    --color-secondary: #ccc;

    --text-color-default: #37465d;
    --text-color-light: #37465d;

    --font-size-default: 15px;
    --font-size-lg: 25px;

    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-default: var(--font-weight-regular);

    --border-color-default: var(--color-secondary);
    --border-color-accent: var(--color-accent-dark);

    --bg-color-default: #fff;
    --bg-color-dark: #37465d;
    --bg-color-accent--lignt: var(--color-accent-light);
    --bg-color-accent--dark: var(--color-accent-dark);

    --transition-duration: .2s;
    --transition-timing-function: linear;
    --transition-delay: 0s;

    --negative-multiplier: -1;

    --gradient-default: linear-gradient(122deg, var(--color-accent-light) 0%, var(--color-accent-dark) 100%);
    --gradient-card: linear-gradient(122deg, var(--color-accent-light) 0%, var(--text-color-default) 100%);

}


/* TIMELINE STYLES: YOU NEED THEM!!! */
.timeline {
    --wrapper-width: 900px;

    width: 95%;
    max-width: var(--wrapper-width);
    margin: auto;
}

.timeline__stepper {
    --step-border-width: 3px;
    --offset-to-slider-content: 30px;

    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: var(--offset-to-slider-content);
}



.timeline__icon {
    --timeline-icon-dimensions: 45px;
    color: var(--color-accent-light);
    position: relative;
    display: block;
    width: var(--timeline-icon-dimensions);
    max-height: var(--timeline-icon-dimensions);
    height: auto;
    margin: 0 auto;
    transition: opacity var(--transition-duration) var(--transition-timing-function) var(--transition-delay);
}



.timeline__icon--active {
   color: var(--text-color-default);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    fill: url(#icon-gradient);
    opacity: 0;
}

.timeline__step-title {
    --timeline-dot-dimensions: 11px;
    --extra-offset-fox-pixelperfect: -1px;

    position: relative;
    display: none;
    padding-top: 30px;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.7;
    border-top: var(--step-border-width) solid var(--border-color-default);
}



.timeline__step-title:before,
.timeline__step-title:after {
    position: absolute;
    top: var(--dot-top-position);
    left: 50%;
    display: block;
    width: var(--timeline-dot-dimensions);
    height: var(--timeline-dot-dimensions);
    content: '';
    border-radius: 50%;
}

.timeline__step-title:before {
    --dot-top-position: calc(
            var(--timeline-dot-dimensions)/2 * var(--negative-multiplier) + var(--extra-offset-fox-pixelperfect)
    );

    transform: translate(-50%);
    border: 2px solid var(--border-color-default);
    border-radius: 50%;
    background-color: #37465d;
    z-index: 5;
}

.timeline__step-title:after {
    --timeline-dot-dimensions: 25px;
    --dot-top-position: calc(
            var(--timeline-dot-dimensions)/2 * var(--negative-multiplier) + var(--extra-offset-fox-pixelperfect)
    );

    transform: translate(-50%) scale(0);
    border-radius: 50%;
    background-color: #37465d;
}

/* this elements generates in JS */
.timeline__step-active-marker {
    --slide-pos-y: none; /* calcs on the fly in js */
    --slide-pos-x: none; /* calcs on the fly in js */
    --slide-width: auto; /* calcs on the fly in js */

    --transition-timing-function: cubic-bezier(0, 0, 0, 1.2);

    position: absolute;
    top: var(--slide-pos-y);
    left: 0;
    display: none;
    width: var(--slide-width);
    height: var(--step-border-width);
    transform: translateX(var(--slide-pos-x));
    transition: transform var(--transition-duration) var(--transition-timing-function) var(--transition-delay);
    background-image: var(--gradient-default);
}


.timeline__step.is-active {
    cursor: default;
}

.timeline__step.is-active .timeline__step-title {
    font-weight: var(--font-weight-semibold);
}

.timeline__step.is-active .timeline__step-title:before {
    transition: background-color var(--transition-duration) var(--transition-timing-function) var(--transition-delay);
    background-color: var(--color-accent-dark);
    border-color: var(--border-color-accent);
}

.timeline__step.is-active .timeline__step-title:after {
    transform: translate(-50%) scale(1);
    transition: transform var(--transition-duration) var(--transition-timing-function) var(--transition-delay);
    background-image: var(--gradient-default);
    opacity: .35;
}

.timeline__step.is-active .timeline__icon--default,
.timeline__step:not(.is-active):hover .timeline__icon--default {
    opacity: 0;
}

.timeline__step.is-active .timeline__icon--active,
.timeline__step:not(.is-active):hover .timeline__icon--active {
    opacity: 1;
}

.timeline__slides {
    --slides-container-height: 0px; /* calcs on the fly in js */

    --content-offset-x: 20px;
    --content-offset-y: 30px;

    --decoration-blur-spread: 20px;
    --decoration-opacity: .7;
    --decoration-pos-x: 0;
    --decoration-pos-y: 20px;
    --decoration-scale: 1;

    position: relative;
    width: 600px;
    max-width: 100%;
    margin: auto;
    height: var(--slides-container-height);
    border-radius: 5px;
    background-color: var(--bg-color-default);
}


.timeline__slides:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    opacity: var(--decoration-opacity);
    background-image: var(--gradient-card);
    filter: blur(var(--decoration-blur-spread));
    transform: translate3d(var(--decoration-pos-x), var( --decoration-pos-y), 0) scale(var(--decoration-scale));
    z-index: -1;
}

.timeline__slide {
    position: absolute;
    top: 0;
    left: 0;
    padding: var(--content-offset-y) var(--content-offset-x);
    opacity: 0;
    visibility: hidden;
}

.timeline__slide.is-active {
    transition: opacity var(--transition-duration) var(--transition-timing-function) var(--transition-delay);
    opacity: 1;
    visibility: visible;
}

.timeline__slide-title {
    margin-top: 0;

}

.timeline__slide-content {
    line-height: 1.7;
}

.timeline__slide-content p:first-child {
    margin-top: 0;
}

.timeline__slide-content p:last-child {
    margin-bottom: 0;
}

.nuestros-valores {
  
    position: relative;
    width: 100%;
    height: 100%; ;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    background: #37465d;
}


/* Valores de la empresa */


.nuestros-valores .carousel-container {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.nuestros-valores .carousel-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.nuestros-valores .carousel {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
}

.nuestros-valores .card {
  background-color: #e2dfdf;
  background-image: url("/assets/img/bg-texture-2.jpg");
 
  background-blend-mode: multiply;
  border-radius: 16px;
  padding: 2rem 1rem;
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}

.nuestros-valores .icon-circle {
  background-color: #37465d;
  color: #c4c4c4;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}

.nuestros-valores .icon-circle i {
  margin: 0;
  padding: 0;
  vertical-align: middle;
  line-height: 1;
}

.nuestros-valores .card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #37465d;
  margin-bottom: 0.5rem;
}

.nuestros-valores .card hr {
  width: 60%;
  border: none;
  height: 2px;
  background-color: #37465d;
  margin: 0.5rem auto 1rem;
}

.nuestros-valores .card p {
  font-size: 0.9rem;
  color: #6c6c6c;
  margin: 0;
}

.nuestros-valores .corner-icon {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.2rem;
  color: #6c6c6c;
}

.nuestros-valores .nav {
  background-color: #c4c4c4;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0.5em;
}

.nuestros-valores .nav:hover {
  background-color: #c4c4c4;
  color:#e3051a;
}



/* preloader*/

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #37465d;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.preloader-content {
  text-align: center;
}

#preloader img {
  width: 220px;
  margin-bottom: 20px;

}

.spinner {
  width: 80px;
  height: 80px;
  border: 4px solid #c4c4c4;
  border-top: 4px solid #e3051a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }

}


/* terminos y condiciones*/

        .terms h2 , ul , strong {
          color: var(--bs-primary);
        }

        .terms p {
          color: var(--bs-gray);
        }


/*-- formulario de postulaciones */ /*-- formulario de postulaciones */ /*-- formulario de postulaciones */ /*-- formulario de postulaciones */ /*-- formulario de postulaciones */ /*-- formulario de postulaciones */

.form-container .card{
  background-color: var(--bs-primary);
  background-image: url("/assets/img/form-2-bg.png");

  background-repeat: no-repeat;         /* No repetir la imagen */
  background-size: cover;               /* Ajustar y cubrir todo el contenedor */
  background-position: center center;  /* Centrar la imagen */
  background-blend-mode: multiply;
}

#form-php .form-control {
    border: 1px solid var(--bs-bg-light); /* Cambia este color por el que desees */
    box-shadow: none;
    background-color: #fff;
    color: var(--bs-bg-light);
}

#form-php .form-control:focus {
    border-color: var(--bs-gray); /* Mismo color para mantenerlo fijo */
    box-shadow: none;
    background-color: #fff;
    color: #37465d;
}

#form-php input.form-control{
  height: 50px;       /* Altura fija para inputs */
  padding: 10px 12px; /* Ajusta el padding para que se vea cómodo */ 
}

#form-php textarea.form-control{
    height: 100px;       /* Alto más grande para texto multilínea */
  resize: vertical;
}


/* Personalización del botón y ventana del chatbot */
df-messenger {
  --df-messenger-button-titlebar-color: #a3051a; /* Color del botón flotante */
  --df-messenger-button-titlebar-font-color: #c4c4c4; /* Texto del botón */
  --df-messenger-chat-background-color: #c4c4c4; /* Fondo del chat */
  --df-messenger-font-color: #37465d; /* Color del texto */
  --df-messenger-send-icon: #a3051a; /* Color del ícono de enviar */
  --df-messenger-user-message: #f2f2f2; /* Fondo de mensajes del usuario */
  --df-messenger-bot-message: #e0e0e0; /* Fondo de mensajes del bot */
  
}


df-messenger {
  position: fixed !important;
  bottom: 30px !important;
  right: 100px !important; /* Ajusta esto según lo que necesites */
  z-index: 9999 !important;
}



.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #37465d;
  color: #fff;
  padding: 1em 2em;
  border-radius: 1.5em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  z-index: 9999;
  max-width: 90vw;
  font-size: 1em;
  border: 1px solid #ffffff5d;
}
.cookie-banner a {
  color: #f1efef;
  text-decoration: underline;
}
.cookie-switch-group {
  display: flex;
  flex-direction: row;
  gap: 0.7em;
  margin: 1em 0 0.5em 0;
}
.switch-label {
  display: flex;
  align-items: center;
  font-size: 1em;
  cursor: pointer;
}
.switch-label input[type="radio"] {
  display: none;
}
.switch-custom {
  width: 38px;
  height: 22px;
  background: #c4c4c4;
  border-radius: 12px;
  margin-right: 0.7em;
  position: relative;
  transition: background 0.2s;
}
.switch-label input[type="radio"]:checked + .switch-custom {
  background: #c4c4c4;
}
.switch-custom::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #37465d;
  border-radius: 50%;
  transition: left 0.2s;
}
.switch-label input[type="radio"]:checked + .switch-custom::after {
  left: 19px;
  background: #a3051a;
}

.cookie-banner .btn{
  background: #fff;
  color: #37465d;
  font-weight: bold;
}



/* Responsive para móviles */
@media (max-width: 600px) {
  .cookie-banner {

    top: 50%;
    left: 50%;
    bottom: unset;
    transform: translate(-50%, -50%);
    border-radius: 1em;
    width: 98vw;
    height: auto;
    padding: 1em 0.5em;
    font-size: 0.95em;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  }

  .cookie-switch-group {

  flex-direction: column;

}
}

.outsourcing{
  background: #37465d;
  padding: 60px 0px;
}

.printer-services{
  padding: 60px 0px;
}
.printer-services-box{
  display: inline-block;
  padding: 20px;
  margin-bottom: 20px;
  padding-top: 40px;
  color: #c4c4c4;
  border: 1px solid #c4c4c4;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);

}
.printer-services-box:hover{
  background: white;
  cursor: pointer;
  color: #37465d;

  border-radius: 50px;
   transition: all 1s;
  -moz-transition: all 1s; /* Firefox 4 */
  -webkit-transition: all 1s; /* Safari and Chrome */
  -o-transition: all 1s; /* Opera */
}
.printer-services-box:hover i{
  background: #a3051a;
  border-radius: 100px;
  
  transition: all 1s;
  -moz-transition: all 1s; /* Firefox 4 */
  -webkit-transition: all 1s; /* Safari and Chrome */
  -o-transition: all 1s; /* Opera */
}
.printer-service-icon{
  padding: 0px;
  float: left;
  margin-right: 20px;
  padding-bottom:30px
}
.printer-service-icon i{
  width: 70px;
  height: 70px;
  background: #37465d;
  color: #ffffff;
  line-height: 70px;
  text-align: center;
  font-size: 44px;
}

.printer-service-content h4{
  font-size: 18px;
  font-weight: 900;
  height: 35px;
}

.printer-img-responsive{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}



/*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */ /*--RESPONSIVE-- */

@media (max-width: 600px){
  
  .img-servicio-central {
    
 max-width: 55%;
    
}




}


@media (max-width:395px){
          .form-btn {
            display: flex;
          }

        }

@media (max-width:1200px){

    .about-img{
        
        max-width: 100%;
        width: 90%;
        display: block;
        margin: 0 auto;

    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 30%;
    border-bottom-left-radius: 10%;
    box-shadow: 15px -15px 0px rgb(38, 54, 80, 1);
  
    }

    .carouselTrack {
    width: calc(150px * 20);
    animation: infiniteLoop 20s linear infinite;
    animation-fill-mode: forwards;
    will-change: transform;}

}

  @media (max-width: 991px) {

          .social-icons a {
            display: inline-block;

            width: 40px;
            height: 40px;
            background-color: var(--bs-primary);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            color:white;
            transition: all 0.3s ease;
        }
        }

              @media (max-width: 600px) {

          .social-icons a {
            display: row;
            justify-content: center;
            align-items: center;
            width: 28px;
            height: 28px;
            background-color: var(--bs-primary);
            border-radius: 20%;
        
            line-height: 40px;
            color:white;
            transition: all 0.3s ease;
        }
        }

        
/* Responsive para tablets */
@media (max-width: 991px) {
    .contact-info-card::after {
        width: 160px;
        height: 160px;
        right: -80px;
        top: 70%;
    }
}

/* Responsive para móviles */
@media (max-width: 575px) {
    .contact-info-card::after {
        width: 100px;
        height: 100px;
        right: -30px;
        top: 85%;
    }

}


@media (max-width: 991px) {
    .rounded-start {
        border-radius: 2rem 2rem 0 0 !important;
    }
}

/* Responsive Adjustments */

        /* Fondo gris para el menú desplegado en móviles */
        @media (max-width: 991.98px) 
        {
            .navbar-collapse.show {
            background-color: #37465d !important;
            color: #c4c4c4;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        }
        }

        @media (max-width: 768px) {
            .hero-video {
                height: auto;
                min-height: 100vh;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-content {
                padding-top: 100px;
                padding-bottom: 80px;
            }
        }


        

        /* ==== RESPONSIVE PARA TARJETAS DE SERVICIOS ==== */
@media (max-width: 991px) {
  .servicios-section .card-body .row {
    flex-direction: column !important;
    gap: 1.2em;
    align-items: stretch;
  }
  .servicios-section .card-body .col-md-5,
  .servicios-section .card-body .col-md-7 {
    max-width: 100%;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    display: block;
  }
  .servicios-section .service-img-wrapper {
    max-width: 90vw;
    min-width: 60vw;
    width: 100%;
    margin: 0 auto 18px auto;
    border-radius: 1.2rem;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .servicios-section .service-img-wrapper img {
    width: 100%;
    height: auto;
    max-height: 32vw;
    object-fit: cover;
    border-radius: 1.2rem;
    display: block;
  }
  .servicios-section .card-body {
    padding: 1em;
    border-radius: 1.2rem;
  }
  .servicios-section .card {
    min-height: unset !important;
    height: auto !important;
    border-radius: 1.2rem;
  }
  .servicios-section .card-body h2,
  .servicios-section .card-body p,
  .servicios-section .card-body ul {
    text-align: left;
    font-size: 0.98em;
    word-break: break-word;
  }
}

@media (max-width: 600px) {
  :root {
    --cardHeight: auto;
    --cardTopPadding: 0.7em;
    --cardMargin: 2vw;
  }
  .servicios-section .card {
    min-height: unset !important;
    height: auto !important;
    border-radius: 0.8rem;
  }
  .servicios-section .card-body {
    padding: 0.6em !important;
    border-radius: 0.8rem;
  }
  .servicios-section .service-img-wrapper {
    max-width: 98vw;
    min-width: 80vw;
    border-radius: 0.8rem;
  }
  .servicios-section .service-img-wrapper img {
    border-radius: 0.8rem;
    max-height: 22vh !important;
  }
  .servicios-section .card-body h2 {
    font-size: 0.95em !important;
    line-height: 1.15;
  }
  .servicios-section .card-body p,
  .servicios-section .card-body ul,
  .servicios-section .card-body li {
    font-size: 0.92em !important;
    line-height: 1.2;
  }
  .servicios-section .card-body .col-md-5,
  .servicios-section .card-body .col-md-7 {
    padding: 0 !important;
    margin: 0 !important;
  }
}
@media (max-width: 600px) {
  .servicios-section .card-body ul.text-primary-custom {
    font-size: 0.88em !important;
    line-height: 1.15;
  }
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 4em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: -15px;
    margin-top: 15px;
    /* Force Hardware Acceleration in WebKit */
  }
}

 
    @media (max-width: 500px) {
      .timeline-content-info-title, .timeline-content-info-date {  
        display: block;
        width:100%;
      } 
    }

    @media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    color: white;
    margin-left: 0;
    padding: 1.6em;
    width: 36%;
    margin: 0 5%;
  }

  
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #333C42;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #333C42;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
}

@media (max-width: 1170px) {
.cd-timeline-content {
    color: white;
    margin-left: 0;
    padding: 1em;
    width: 73%;
    margin: 0 18%;
  }

  .timeline-container{
    overflow: hidden;
  }

  .cd-timeline-block h2{
    font-size: 20px;
  }

}

@media(min-width: 530px) {
    .timeline__stepper {
        display: flex;
        justify-content: space-around;
        gap: 0;
    }
}

@media(min-width: 700px) {
    .timeline__stepper {
        --offset-to-slider-content: 50px;
    }
}

.timeline__step {
    position: relative;
    width: 100%;
    cursor: pointer;
}

@media(min-width: 530px) {
    .timeline__step {
        width: 100%;;
    }
}
@media(min-width: 700px) {
    .timeline__icon {
        --timeline-icon-dimensions: 60px;

        margin-bottom: 30px;
    }
}
@media(min-width: 700px) {
    .timeline__step-title {
        display: block;
    }
}
@media(min-width: 700px) {
    .timeline__step-active-marker {
        display: block;
    }
}

@media(min-width: 700px) {
    .timeline__slides {
        --content-offset-x: 10px;
        --content-offset-y: 40px;
    }
}
@media (max-width: 768px) {
  .nuestros-valores .card {
    width: 220px;
  }
}
 @media (max-width :768px){
  .tittle-section span , .tittle-section h5 {
    font-size: 14px;
  }

    .p-text {
      font-size: 20px;
      text-align: center;
    }

    .p-text2 {
      font-size: 17px;
    }

    .p-text3 {
      font-size: 20px;
      text-align: center;
    }
  
 }

 @media (max-width:1200px){

   .navbar-img {
          height: 55px;
          width: auto; 
          max-width: 160px;
          margin-right: -10px;
        }
  .navbar-brand span{
    display: none;
  }

  .footer-logo{
    height: 40px;
    width: auto;
    margin-right: -10px;
  }

  .footer-company-name{
     font-size: 15px;
     text-align: center;
     text-wrap: nowrap;
  }

  .social-icons a {
    
    margin-left: 5px;

 }

 .social-icons{

  margin-left: 20px;
 }

 .social-icons i {
    display:inline-flex;
    margin-top: -11px;
   
    
 }

 .final-text {
  font-size: 12px !important;
 }

 #btn-nav , #btn-nav-2 {
   padding: 2px 24px;     /* Aumenta el área clicable */
  font-size: 16px;
  margin-bottom: 10px;        /* Tamaño del texto */
 }

 #btn-nav{
  background-color: #f1efe7;
  color: #37465d;
 }


}

@media (max-width: 800px) {
  .navbar.scrolled{
    background: none;
   box-shadow: none;
  }
}

@media (max-width: 991px) {
 .btn-about{
  display: none !important;
 }

 .btn-about-2{
  display: flex !important;
  margin: 0 auto;
 }

 .featured-image-section h2{
    margin-top: 20px;
 }

 .video-wrapper {
  max-width: 85vw;
 }
}

@media ( max-width: 600px) {
  .social-icons{
    
    font-size: 12px;
    
  }
  .social-icons a {
    
    margin-bottom: 6px;
}

}
