/* Encabezado */
.encabezado {
  background-color: #cb926a;
}

/* Logo y texto */



/* Empresa Card Styles */
.empresa-card {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

.empresa-card:hover {
  transform: translateY(-5px);
}

/* Logo Container for vertical centering */
.logo-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo Image Styling */

.logo-empresa {
  width: 120px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
  display: block;
}
.negro{
background-color: #000;
}

.empresa-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
/* Card Title and Text */
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Button Styling */
.btn-outline-primary {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}


/* Video */
.video {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video video {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

/* Controles del video */
.controles-videos button {
  margin: 0 5px;
}

/* Superposición móvil */
.overlay-movil {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  color: white;
}

/* Estilo para tarjetas de empresas */

.bg-empresas {
  background: #cb926a;
  padding: 40px 20px;
  padding-bottom: 40px;

  

}
.empresa-card {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.logo-empresa {
  max-height: 100px;
  object-fit: contain;
  margin-top: 10px;
}
.logo-empresa {
      max-height: 100px;
      object-fit: contain;
    }


/* Tarjetas de servicios */
.tarjeta-servicio {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-servicio:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tarjeta-servicio .card-img-top {
  max-height: auto;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.tarjeta-servicio .card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tarjeta-servicio .card-text {
  font-size: 0.95rem;
  color: #555;
}


/* Fondo para la sección de tarjetas */
.bg-tarjetas {
  background: #ffffff;
  color: white;
}


.footer a:hover {
  text-decoration: underline;
  color: #00c6ff;
}


/* Fondo cálido para el footer */
.bg-footer {
  background: linear-gradient(135deg, #f2994a, #f2c94c);
  color: white;
}

/* Hover en enlaces del footer */
.footer a:hover {
  text-decoration: underline;
  color: #fffacd;
}
/* Fondo cálido para la sección de contacto */
.bg-contacto {
  background: linear-gradient(135deg, #f2994a, #f2c94c);
  color: white;
}

.bg-contacto {
  background-color: #343a40; /* Fondo oscuro */
}

.contacto .form-control {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contacto .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.contacto .btn {
  padding: 0.6rem 2rem;
  font-weight: bold;
  border-radius: 2rem;
 
}

/* Contenedor del video dentro de la tarjeta */
.video-container {
  position: relative;
  cursor: pointer;
  border-radius: 0.5rem 0.5rem 0 0;
  background-color: #00c6ff;
}

.card-video {
  width: 100%;
  border-radius: 0.5rem 0.5rem 0 0;
}


.video-overlay {
  position: absolute;
  left: 0;
  right: 0;       /* equivalente a width: 100% pero más robusto */
  bottom: 0;
  height: 56px;   /* ajusta a tu gusto (o usa min-height + padding) */
  display: flex;
  align-items: center;      /* centra vertical */
  justify-content: center;  /* centra horizontal */
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;     /* no bloquea clics en controles del video */
  z-index: 2;
  transition: background .3s ease;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.6); /* el hover visual se verá aunque no capture eventos */
}


.ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-hover-wrapper {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.video-hover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #eee;
}

/* Oculta los controles por defecto */
.video-hover::-webkit-media-controls {
  display: block !important;
}


/* Muestra controles al hacer hover */
.video-hover-wrapper:hover .video-hover {
  controls: true;
}


.video-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.video-wrapper video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.video-controles {
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 8px;
}




.card-video {
  width: 100%;
  border-radius: 0.5rem 0.5rem 0 0;
}


.tarjeta-video .card-body {
  background-color: #343a40; /* fondo oscuro */
  color: white;              /* texto blanco */
  font-family: 'Poppins', sans-serif; /* fuente personalizada */
   background-color: #343a40; /* fondo oscuro */
   border-radius: 0.5rem 0.5rem 0 0;
}




.video-container {
  position: relative;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 0.5rem 0.5rem 0 0;
}

.video-overlay {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* evita clics cuando está oculto */
  border-radius: 0.5rem 0.5rem 0 0;
}

.video-container:hover .video-overlay {
  opacity: 1;
  pointer-events: auto; /* permite clics cuando está visible */
  border-radius: 0.5rem 0.5rem 0 0;
}

.tarjeta-video .card-body {
  background-color: #e6f2ff; /* Fondo celeste claro */
  font-family: 'Roboto', sans-serif; /* Fuente moderna y legible */
  color: #1a1a1a; /* Color del texto */
  padding: 1rem;
  border-top: 1px solid #ccc;
  border-radius: 0.5rem 0.5rem 0 0;
}
.video-container {
  position: relative;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  z-index: 10;
}
.video {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.loading-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 1rem;
  display: block;
}


 @font-face {
	font-family: 'Capitalis TypOasis';
	src: url('../fonts/CapitalisTypOasis.ttf') format('.ttf 	'),
	  url('../fonts/CapitalisTypOasis.ttf') format('ttf');
	font-style: normal;
	font-weight: normal;
  }
  @font-face {
	font-family: 'ROCKET WILDNESS';
	src: url('../fonts/ROCKET\ WILDNESS.ttf'),
	  url('../fonts/ROCKET\ WILDNESS.ttf') format('ttf');
	font-style: normal;
	font-weight: normal;
  }
        .text_bbcc {
            font-family: 'Capitalis TypOasis', serif;
            font-size: 40px;
            text-align: center;
            margin-top: 50px;
            color: #fff;
        }
.text_cc{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 15px;
  }

      .video-icon-overlay {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: rgba(0,0,0,0.6);
      color: white;
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 14px;
      z-index: 2;
    }

/* Estilo del modal personalizado */
    .modal-dialog {
      max-width: 300px;
      margin: auto;
      
    }
    .modal-content {
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: left;
      text-align: left;
    }