:root {
      --verde-oscuro: rgb(22,113,59);
      --verde-claro: rgb(163,189,49);
    }
    .btn-principal {
      background-color: var(--verde-oscuro);
      color: white;
    }
    .btn-principal:hover {
      background-color: var(--verde-claro);
      color: black;
    }
    .icono-servicio {
      font-size: 3rem;
      color: var(--verde-oscuro);
    }

    /* NAVBAR */
    .navbar {
      transition: background-color 0.3s ease;
      background: transparent;
    }
    .navbar-dark .nav-link {
      color: #fff !important;
      font-weight: 500;
      padding: 10px 15px;
    }
    .navbar-dark .nav-link:hover {
      color: var(--verde-claro) !important;
    }
    .navbar.scrolled {
      background-color: var(--verde-oscuro) !important;
    }

    /* HERO */
    .video-header {
      position: relative;
      width: 100%;
      height: 100vh; /* toda la pantalla */
      overflow: hidden;
    }
    .video-background {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      overflow: hidden;
    }
    .video-background iframe {
      position: absolute;
      top: 50%; left: 50%;
      width: 120%;
      height: 120%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .content-overlay {
      position: relative;
      z-index: 2;
      height: 100%;
      width: 100%;
      background: rgba(0,0,0,0.35);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #fff;
      text-align: center;
      padding: 0 15px;
    }

    .img_productos {
      max-height: 180px; /* Escritorio */
    }
    .logo {
      max-height: 110px; /* Escritorio */
    }

    .container_internos{
      margin: 75px auto 75px auto;
      background-color: #fff;
    }  

    .marca-logo {
      filter: grayscale(100%);
      opacity: 0.8;
      transition: all 0.3s ease;
      max-height: 80px;
    }

    .marca-logo:hover {
      filter: grayscale(0%);
      opacity: 1;
      transform: scale(1.05);
    }

    /* ===== CTA General ===== */
.cta {
  margin: 70px auto;
  background: linear-gradient(90deg, rgb(22,113,59), rgb(163,189,49));
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 74, 173, 0.2);
}

.cta .left strong {
  font-size: 20px;
  font-weight: 700;
}

.cta .btn {
  display: inline-block;
  background: #fff;
  color:rgb(163,189,49);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta .btn:hover {
  background: #EAF4FF;
  transform: translateY(-2px);
}

.card-negocio {
  border: none;
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  height: 100%;
}

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

.card-negocio h5 {
  font-weight: 600;
  color: var(--verde-oscuro);
}

.icono-servicio {
  font-size: 3rem;
  color: var(--verde-oscuro);
  transition: transform 0.3s ease;
}

.card-negocio:hover .icono-servicio {
  transform: scale(1.15);
}

/* Botón flotante de WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
    background: #1ebe5d;
}

.marca-logo {
  max-height: 90px;
  transition: all 0.3s ease-in-out;
  opacity: 1;       /* siempre visible */
  filter: none !important;       /* Elimina cualquier filtro previo */
}

.marca-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  filter: none !important;  /* Asegura que no se active grayscale */
}

/* Centrado de imágenes en el slider */
.carousel-item {
  padding: 20px;
}

    .footer-custom {
      background: url("img/background_footer.jpg") no-repeat center center;
      background-size: cover;
    }

    .footer-custom {
    background: linear-gradient(
      135deg,
      rgba(22,113,59,1) 0%,
      rgba(22,113,59,0.8) 50%,
      rgba(22,113,59,0.6) 100%
    );
    color: #fff;
  }

  @media (max-width: 1000px) {
  .video-header {
      height: 90vh;
    }
  }

  @media (max-width: 900px) {
  .video-header {
      height: 80vh;
    }
  }
  
  @media (max-width: 768px) {
    .logo {
      max-height: 70px; /* Tablets y móviles */
    }

    .cta {
      text-align: center;
      flex-direction: column;
      gap: 16px;
      margin: 40 auto;
    }

    /* Reducimos padding para que no se vea vacío */
    .carousel-item {
      padding: 10px 0;
    }

    /* Centramos imágenes y evitamos que se corten */
    .carousel-item img {
      max-width: 70%;
      height: auto;
      margin: 0 auto;
      display: block;
    }

      /* Ocultamos los controles si ocupan mucho espacio */
    .carousel-control-prev,
    .carousel-control-next {
      display: none;
    }     

 }

 @media (max-width: 700px) {
  .video-header {
      height: 60vh;
    }
  }