html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
#menu {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}
#menu.navbar-dark.bg-dark-scrolled {
  background-color: rgba(0, 0, 0, 0.9);
}
.navbar-nav .nav-link {
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 15px;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #ff5722;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ff5722;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}
.btn-link {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.btn-link:hover {
  color: #ff5722;
  transform: translateY(-2px);
}
.btn-primary-custom {
  background-color: #ff5722;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
}
.btn-primary-custom {
  background-color: #ff5722;
  border-color: #ff5722;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
}
.btn-primary-custom:hover {
  background-color: #e64a19;
  border-color: #e64a19;
}
.btn-primary{
  background-color: #49abcc;
  border-color: #49abcc;
}
.btn-outline-custom {
  background-color: rgba(0, 0, 0, 0);
  border: 2px solid #fff;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
}
.btn-outline-custom:hover {
  background-color: #fff;
  color: #000;
}
.features h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.features h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.features ul {
  padding-left: 0;
}
.features ul li {
  font-size: 1rem;
  margin-bottom: 10px;
}.slider {
  height: auto;
  margin: auto;
  overflow: hidden;
  mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 0) 100%);

}

.slider .slide-track {
  display: flex;
  animation: scroll 60s linear infinite;
  -webkit-animation: scroll 60s lienar infinite;
  width: calc(13rem * 26);
}

.slider .slide {
  width: 15rem; 
  display: flex;
  align-items: center;
  justify-content: center; 
  margin: 0 1rem; 
}

.slider .slide img {
  width: 100%;
  height: auto; 
  max-height: 8rem; 
  object-fit: contain;
}

@keyframes scroll {
  0% {
      /* -webkit-transform: translateX(0); */
      transform: translateX(0);
  }

  100% {
      /* -webkit-transform: translateX(calc(-13rem * 7)); */
      transform: translateX(calc(-13rem * 7));
  }

}
.text-success {
  color: #000 !important;
} /*# sourceMappingURL=estilos.css.map */
.text-animation {
  font-weight: bold;
  color: #546670;
  transition: opacity 0.5s ease-in-out;
  text-transform: uppercase;
}
.mapouter {
  position: relative;
  text-align: center;
  width: 100%;
  height: 400px;
}

.gmap_canvas {
  overflow: hidden;
  background: none!important;
  width: 100%;
  height: 400px;
}

.gmap_iframe {
  width: 100% !important;
  height: 400px !important;
}
/* 
SECCION SERVICIOS  */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  color: rgb(252, 252, 252);
  width: 100%;
  padding: 12px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.popup {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  background: white;
  padding: 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
}

.popup-img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 10px;
}

.popup-text {
  font-size: 1.3rem;
  margin-top: 15px;
  color: #333;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: black;
  transition: 0.3s;
}

.close:hover {
  color: red;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .popup-content {
    max-width: 90%;
    padding: 15px;
  }
}
/* FIN SECCION SERVICIO */


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Diseño Responsivo */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .overlay {
    font-size: 0.9rem;
    padding: 10px;
  }
  .popup-content {
    max-width: 95%;
    max-height: 70vh;
  }
  .popup-text {
    font-size: 1rem;
  }
}

/* Contenedor flotante */
.floating-buttons {
position: fixed;
top: 50%;
right: 10px;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 15px;
z-index: 1000;
}

/* Botón individual */
.btn-floating {
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.7);
border: none;
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 18px;
transition: all 0.3s ease-in-out;
cursor: pointer;
position: relative;
}

.btn-floating span {
position: absolute;
right: 50px;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 5px 10px;
border-radius: 5px;
font-size: 12px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease-in-out;
}

.btn-floating:hover span,
.btn-floating.show span {
opacity: 1;
pointer-events: auto;
}

/* Estado activo */
.btn-floating.active i {
color: #ffd700;
}

/* Tamaño responsivo */
@media (max-width: 768px) {
.floating-buttons {
  display: none;
}
.btn-floating {
  width: 35px;
  height: 35px;
  font-size: 16px;
}
}

/* Estilo para los botones personalizados */
.btn-ver-mas {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
transition: all 0.3s ease;
}
.btn-ver-mas:hover {
background-color: #546670;
}

.btn-contactanos {
background-color: #ff5521;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
transition: all 0.3s ease;
}
.btn-contactanos:hover {
background-color: #cc451a;
}

/* Estilos específicos para la sección de pilares */
.pilares-card {
background: #ffffff;
border-radius: 10px;
padding: 30px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
height: 100%;
}

.pilares-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.pilares-card i {
display: block;
margin-bottom: 15px;
}

/* Asegurar que todas las tarjetas tengan la misma altura */
@media (min-width: 768px) {
.pilares-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
}

@media (max-width: 768px) {
.pilares-card {
  padding: 20px;
}
}

.btn-danger {
  background: #49abcc!important;
  border: none;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.btn-danger:hover {
  background: #A51E2D;
}

.btn-success {
  border: 2px solid #546670;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.btn-success:hover {
  background: #546670;
  color: white;
}

.text-primary {
  color: #546670 !important;
}
.footer {
    background: #1a1a1a;
  }

  .footer h4 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    margin-bottom: 15px;
  }

  .footer a {
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer a:hover {
    color: #007bff;
  }

  .map-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
  }

  .gmap_iframe {
    width: 100% !important;
    height: 100% !important;
  }

  @media (max-width: 768px) {
    .footer {
      text-align: center;
    }
    .footer .map-container {
      height: 180px;
    }
  }

  .fondo-pilares, .section-servicios {
    background-image: url("../img/fondo/2.png");
 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
   
    box-shadow: #ff9d00;
  }
  .carousel-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
    width: 80%;
    max-width: 700px;
    animation: fadeIn 1.5s ease-in-out;
}

.text-shadow {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}



/* Estilo de los botones */
.btn-custom {
    background-color: #ff5521;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    transition: 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: #e0441b;
    transform: scale(1.1);
}

/* Efecto de transiciones más suaves */
.carousel-fade .carousel-item {
    transition: opacity 1s ease-in-out;
}

    /* Estilo de los botones */
    .btn-custom {
        background-color: #ff5521;
        border: none;
        padding: 12px 24px;
        font-size: 18px;
        transition: all 0.3s ease-in-out;
        border-radius: 8px;
    }

    /* Efecto hover en el botón "Ver más" */
    .btn-custom:hover {
        background-color: #e0441b; /* Color más oscuro */
        transform: scale(1.1); /* Zoom suave */
        box-shadow: 0 4px 15px rgba(255, 85, 33, 0.5); /* Sombra moderna */
    }

    /* Mejoramos también el botón de "Contáctanos" */
    .btn-outline-light:hover {
        background-color: white;
        color: #ff5521;
        border-color: #ff5521;
        transform: scale(1.05);
    }
    .pb-85 {
      padding-bottom: 5rem !important;
  }
  .pt-85 {
    padding-top: 5rem !important;
}
  
/* Contenedor principal */
.plato {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  left: -80px;
  top: 154%;
  transform: translateY(-50%);
  
  z-index: 10;
}

/* Imagen giratoria */
.rotating-image {
  width: 100%; /* Ocupa todo el contenedor */
  height: auto;
  animation: rotateImage 5s linear infinite; /* Rotación continua */
}

/* Animación de rotación */
@keyframes rotateImage {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* MEDIA QUERIES: Ajustar tamaño de la imagen en pantallas más grandes */

/* Cuando la pantalla sea mayor a 1024px (PCs grandes) */
@media screen and (min-width: 1024px) {
  .plato {
    width: 250px;
    height: 250px;
    left: -120px; /* Ajusta la posición si es necesario */
  }

  .rotating-image {
    width: 100%;
  }
}

/* Cuando la pantalla sea mayor a 1440px (monitores grandes) */
@media screen and (min-width: 1440px) {
  .plato {
    width: 350px;
    height: 350px;
    left: -100px; /* Ajusta más si lo necesitas */
  }
}

/* Cuando la pantalla sea mayor a 1920px (pantallas muy grandes) */
@media screen and (min-width: 1920px) {
  .plato {
    width: 400px;
    height: 400px;
    left: -200px; /* Ajuste fino para pantallas grandes */
  }
}
/* Estilos generales para las tarjetas */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

/* Imagen dentro de la tarjeta */
.card-img-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 200px; /* Ajusta la altura de las imágenes para uniformidad */
  object-fit: cover;
}

/* Espaciado dentro de la tarjeta */
.card-body {
  padding: 20px;
}

/* Títulos dentro de las tarjetas */
.card-title {
  font-size: 1.2rem;
  color: #333;
}

/* Texto de la tarjeta */
.card-text {
  font-size: 0.95rem;
  color: #666;
}

/* Lista de características */
.card-body ul {
  padding-left: 0;
}

.card-body li {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Botón "Ver más" */
.btn-ver-mas {
  background-color: #ffc252;
  color: black;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-right: 10px; /* Espacio entre botones */
}

.btn-ver-mas:hover {
  background-color: #e6a837;
}

/* Botón "Contáctanos" */
.btn-contactanos {
  background-color: transparent;
  color: black;
  border: 2px solid black;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-contactanos:hover {
  background-color: black;
  color: white;
}

/* Separación entre botones */
.mt-3 a {
  display: inline-block;
  margin: 5px 5px;
}
/* ======= ESTILO PARA EL BACKGROUND ======= */
.scheme-section {
    position: relative;
    background-color: #fff;
    color: #333;
    padding: 30px 0;

}


/* ======= ESTILO PARA EL TÍTULO Y TEXTO ======= */
.scheme-section h2 {
    color: #0d6efd; /* Azul elegante */
    text-shadow: 1px 1px 5px rgba(0, 102, 255, 0.2);
    font-size: 2rem;
}

.scheme-section p {
    color: #555;
    font-size: 1.1rem;
}

/* ======= ESTILO PARA EL SLIDER DE EMPRESAS ======= */
.slider {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* ======= BOTONES MEJORADOS ======= */
.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff4757, #e63946);
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(255, 71, 87, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #546670, #546670);
    color: white;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 12px rgb(84, 102, 112);
}

.btn-success:hover {
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(40, 167, 69, 0.5);
}


.seccion-servicios{
  background-color: #edf6fc; 
 }


/* whatsapp  */
  /* Contenedor principal */
  .social-container {
    position: fixed;
    bottom: 97px;
    right: 20px;
  }
  .bi-person-lines-fill{
 color: #fff;
  }
  
  /* Ocultamos el checkbox */
  #toggle-social {
    display: none;
  }
  
  /* Botón principal */
  .main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #cfab69;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s;
    animation: breathe 2s ease-in-out infinite;
  }
  
  .main-btn:hover {
    transform: scale(1.1);
  }
  
  /* Contenedor de los botones secundarios */
  .social-items {
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  /* Mostrar los botones cuando esté activo */
  .social-items.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Botones individuales */
  .social-btn {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3)!important;
  }
  
  /* Colores de los botones */
  .social-btn.telefono { background-color: #34B7F1; }
  .social-btn.linkedin { background-color: #0077B5; }
  .social-btn.correo { background-color: #D44638; }
  .social-btn.youtube { background-color: #FF0000; }
  
  /* Animación de respiración */
/* Animación de respiración corregida */
@keyframes breathe {
  0% { box-shadow: 0 0 0 0 #cfab69; }
  70% { box-shadow: 0 0 15px 10px rgba(207, 171, 105, 0.3); }
  100% { box-shadow: 0 0 0 0 rgba(248, 161, 0, 0); }
}

/* fin whatsapp */

  
    /*Estilos generales del boton whatsapp*/
    .whatsapp-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #25D366;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
      animation: breathe 2s ease-in-out infinite;
      z-index: 999;
    }
    
    /*Estilos solo al icono whatsapp*/
    .whatsapp-btn i {
      color: #fff;
      font-size: 24px;
      animation: beat 2s ease-in-out infinite;
      text-decoration: none;
    }
    
    /*Estilos con animation contorno respirando*/
    @keyframes breathe {
      0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
      }
      70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
      }
    }
    
    /*Estilos de animacion del icono latiendo*/
    @keyframes beat {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }
    .carousel-caption {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Tamaño del texto en pantallas grandes (desktop) */
@media (min-width: 992px) {
  .carousel-caption h2 {
    font-size: 5rem !important; /* Aumenta el tamaño del título */
  }

  .carousel-caption p {
    font-size:2rem !important; /* Aumenta el tamaño del párrafo */
  }

  .carousel-caption .btn {
    font-size: 1.25rem !important; /* Aumenta el tamaño de los botones */
    padding: 15px 30px !important; /* Botones más grandes */
  }
}

/* Tamaño del texto en pantallas pequeñas (móviles y tablets) */
@media (max-width: 768px) {
  .carousel-caption h2 {
    font-size: 1.8rem !important; /* Reduce el tamaño del título */
  }

  .carousel-caption p {
    font-size: 1rem !important; /* Reduce el tamaño del párrafo */
  }

  .carousel-caption .btn {
    font-size: 0.875rem !important; /* Reduce el tamaño de los botones */
    padding: 10px 20px !important; /* Botones más pequeños */
  }
}
/* Estilos generales de los botones */
.carousel-caption .btn {
  transition: all 0.3s ease-in-out !important;
}

/* Estilos específicos para el botón "Ver más" */
.carousel-caption .btn-warning {
  background-color: #ff5521 !important;
  border: none !important;
  color: #fff !important;
}

/* Efecto hover en desktop */
@media (min-width: 992px) {
  .carousel-caption .btn-warning:hover {
    background-color: #e0481d !important; /* Color más oscuro al pasar el cursor */
    box-shadow: 0 0 15px rgba(255, 85, 33, 0.5) !important; /* Efecto de brillo */
    transform: scale(1.05) !important; /* Aumenta ligeramente el tamaño */
  }
}

/* Efecto hover en móviles desactivado para evitar comportamientos indeseados */
@media (max-width: 768px) {
  .carousel-caption .btn-warning:hover {
    background-color: #ff5521 !important; /* Mantiene el color original */
    box-shadow: none !important;
    transform: none !important;
  }
}
.bi-telephone , .bi-envelope-fill , .bi-telephone-fill{
  color: #49abcc!important ;
}