/* SECCIÓN NOSOTROS */

.nosotros-section {
  position: relative;
  z-index: 2;
  background-color: #0b0b0b;
  color: #f1f1f1;
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nosotros-content {
  max-width: 2000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.nosotros-img {
  flex-direction: initial;
  flex: 0 0 45%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nosotros-img img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nosotros-img:hover img {
  transform: scale(1.05);
}

.nosotros-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nosotros-texto h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.nosotros-texto p.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Botón de la sección NOSOTROS */
.btn-nosotros {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  min-height: 48px;
  background: #ffffff;
  color: #000000 !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 8px;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.btn-nosotros:hover,
.btn-nosotros:focus-visible {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
  border: solid 1px;
  transform: translateY(-2px);
}

/* Animación de entrada suave (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVO PARA TABLET Y CELULAR
   ========================================================================== */

/* Tablets (< 992px) */
@media (max-width: 991.98px) {
  .nosotros-content {
    gap: 2rem;
  }

  .nosotros-img {
    flex: 0 0 50%;
  }
}

/* Celulares (< 768px) */
@media (max-width: 767.98px) {
  .nosotros-section {
    padding: 3rem 1rem;
  }

  .nosotros-content {
    flex-direction: column;
    text-align: center;
  }

  .nosotros-img {
    width: 100%;
    height: 260px;
    flex: none;
  }

  .nosotros-texto {
    align-items: center;
    text-align: center;
  }

  .btn-nosotros {
    width: 100%;
    max-width: 300px;
  }
}