@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Layout base */
.servicios-section {
  width: 100%;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: 'Poppins', sans-serif;
  color: white;
}

.servicios-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .servicios-container {
    flex-direction: row;
  }
}

/* Texto */
.servicios-text {
  background-color: rgba(0, 0, 0, 0.6);
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.servicios-content {
  max-width: 700px;
  text-align: justify;
}

.servicios-content h2 {
  text-align: center;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.titulo {
  color: #dc2626; /* rojo Tailwind (red-600) */
  font-size: 4rem;
}

.empresa {
  font-size: 3rem;
  font-weight: bold;
  font-style: italic;
  color: white;
}

.parrafo {
    font-size: 24px;
}

.bpm {
  font-size: 2.0rem;
  font-style: italic;
  font-weight: bold;
  color: white;
}

/* Imagen */
.servicios-imagen {
  position: relative;
  flex: 1;
  height: 400px;
}

@media (min-width: 768px) {
  .servicios-imagen {
    height: auto;
  }
}

.servicios-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imagen-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.15);
}

/* Animaciones */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  animation: fadeInLeft 1.2s ease-out forwards;
}

/* Estilos video */
.video-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0 1rem 4rem;
}

.video-full iframe,
.video-half iframe {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  border: none;
  transition: transform 0.4s ease;
}

.video-full iframe:hover,
.video-half iframe:hover {
  transform: scale(1.03);
}

.video-half-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.video-half {
  width: 100%;
}

@media (min-width: 768px) {
  .video-half-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .video-half {
    width: 48%;
  }
}

/* Video animations */
.video-fade {
  animation: fadeZoom 1.2s ease-out forwards;
  opacity: 0;
}

.video-slide-left {
  animation: slideInLeft 1.4s ease-out forwards;
  opacity: 0;
}

.video-slide-right {
  animation: slideInRight 1.4s ease-out forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}


  .nuestra-gente-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #0f1a25;
    color: white;
    overflow: hidden;
    padding-top: 10px; /* Ajusta si tu navbar tiene otra altura */
  }

  .nuestra-gente-section .content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: auto;
    padding: 3rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nuestra-gente-section h2 {
    width: 100%;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 3px solid #ffffff33;
    padding-bottom: 1rem;
    letter-spacing: 1px;
  }

  .nuestra-gente-section .left-column {
    flex: 1 1 60%;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .nuestra-gente-section .right-column {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nuestra-gente-section .right-column img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
  }

  .nuestra-gente-section .right-column img:hover {
    transform: scale(1.03);
  }

  .nuestra-gente-section p {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-left: 4px solid #d32f2f;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Responsive */
  @media (max-width: 992px) {
    .nuestra-gente-section {
      padding-top: 90px;
    }

    .nuestra-gente-section .content-wrapper {
      flex-direction: column;
    }

    .nuestra-gente-section .left-column,
    .nuestra-gente-section .right-column {
      flex: 1 1 100%;
      padding-right: 0;
    }

    .nuestra-gente-section .right-column {
      margin-top: 2rem;
    }
  }

  .img-wrapper {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrapper img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.bg-opacity-75 {
  background-color: rgba(0, 0, 0, 0.75) !important;
}