.sobre-nosotros {
  /* El contenedor principal, actúa como una "ventana" */
  position: relative;
  min-height: 100vh;
  padding: 4rem 2rem;
  background-color: #000; /* Fondo de respaldo */
  overflow: hidden; /* ¡ESENCIAL! Evita que las imágenes rompan el layout */
  display: flex; /* Mantenemos flex para centrar el contenido verticalmente */
  align-items: center;
  justify-content: center;
}

.imagenes-sobre {
  /* La capa del fondo con las imágenes parallax */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Detrás del contenido */
  pointer-events: none; /* No interfiere con el mouse */
  display: flex; /* Para las dos imágenes lado a lado */
}


.img-erick, .img-yuri {
  flex: 1 1 50%;
  width: 50%;
  height: 140%; /* Un poco más altas para mayor efecto */
  object-fit: cover;
  opacity: 0.7;
  /* La transformación la controla 100% el JS */
}

.img-erick {
  object-position: center center;
}

.img-yuri {
  object-position: center top;
}


.container.contenido-sobre {
  position: relative; /* Muy importante para que se posicione correctamente */
  z-index: 2; /* Encima de la capa de imágenes */
  max-width: 1200px;
  width: 100%;
}

.sobre-nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../textura/textura-coloristica-opacidad25.svg');
  background-size: cover;
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* Ttulos y prrafos */
.sobre-nosotros h2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.sobre-nosotros p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}














.oculto-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.oculto-scroll.mostrar {
  opacity: 1;
  transform: translateY(0);
}


.fade-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}

.fade-scroll.mostrar {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.retraso-0 {
  transition-delay: 0.6s;
}

.retraso-1 {
  transition-delay: 0.8s;
}

.retraso-2 {
  transition-delay: 1.0s;
}




/* =============================== */
/* Estilo para secci�n din�mica   */
/* =============================== */

.contenedor-dinamico {
  display: flex;
  width: 100%;
  height: 50vh; 
  margin: 0 auto;
  margin-top: 80px; /* Espacio respecto al título superior */
  border-radius: 10px;
  overflow: hidden;
}

.columna-izquierda {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  height: 100%;
}

.tarjeta-menu {
   flex: 0 0 20%;
  width: 100%;
	height: 20%;
	overflow: hidden; /* opcional: evita que crezca m�s de la cuenta */
  max-width: unset; /* importante para que no limite el ancho */
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 0 0 0 0; /* solo el borde derecho redondeado */
  text-align: center;
}

.tarjeta-menu h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* ///////////////////////////// */
/* NAVEGADOR CONTENEDOR DINAMICO */
/* ///////////////////////////// */

.menu-horizontal {
  width: 100%;
  margin: 30px auto 1rem auto;
  padding: 0.05rem 2rem;
  background-color: rgba(255, 255, 255);
  border-radius: 10px;
  z-index: 3;
  position: relative;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.menu-opciones {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}


.menu-opciones li {
  flex: 1 1 25%; /* 1/4 exacto */
  text-align: center;
  padding: 0.8rem; /* uniforme */
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 0; /* opcional si quieres fondo al ras */
  background-color: transparent;
  color: #000;
  border: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}


.menu-opciones li:hover {
  opacity: 0.8;
  transform: scale(1.03);
}
/* ///////////////////////////// */


.tarjeta-imagen {
  flex: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.tarjeta-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}



.columna-derecha {
  flex: 1 1 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
	background-image: url('../textura/textura-coloristica-opacidad25.svg');
	background-repeat: repeat;
	background-size: 150px 150px;
}

.columna-derecha h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
	font-weight: 700;
font-family: 'Inter', sans-serif;
}

.columna-derecha p {
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 600px;
	font-family: 'Inter', sans-serif;
	text-align: left;
}

/* Transiciones suaves */
#imagen-dinamica,
#tarjeta-imagen,
#contenedor-dinamico {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}


@media (max-width: 768px) {
  .contenedor-dinamico {
    flex-direction: column;
    height: auto;
  }

  .columna-izquierda, .columna-derecha {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .tarjeta-imagen {
    height: auto;
  }
}

/* Animaciones de entrada */
@keyframes entrar-arriba {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes entrar-abajo {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animar-arriba {
  animation: entrar-arriba 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.animar-abajo {
  animation: entrar-abajo 0.8s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.animar-arriba,
.animar-abajo {
  will-change: opacity, transform;
}


/* =============================== */
/* TITULO SECCI�N NOSOTROS   */
/* =============================== */

.titulo-superior {
  position: absolute;
  top: 4rem; /* Ajusta según necesites */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 3; /* Encima de todo */
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.titulo-superior .intro-frase {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.titulo-superior .titulo-frase {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  color: white;
}

@media (max-width: 768px) {

  

  .titulo-superior .titulo-frase {
    font-size: 2rem;
  }
}

/* =============================== */



/* =============================== */
/* CUADRO DINAMICO - CELULAR   */
/* =============================== */



@media (max-width: 768px) {

  .imagenes-sobre {
    display: none; /* ocultamos el parallax original en m�vil */
  }

  .sobre-nosotros {
    padding: 2rem 1rem;
    background: url('../imagenes/yuri-trabajo3.jpg') no-repeat center center;
    background-size: cover;
  }

  .menu-horizontal {
    width: 100%; /* Que ocupe lo mismo que lo anterior */
    margin: 0 auto 1rem auto;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
  }

  .menu-opciones {
    flex-direction: row; /* vuelve a ponerlo horizontal */
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .menu-opciones li {
    flex: 1 1 auto;
    font-size: 0.8rem; /* m�s peque�o para que quepa */
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
    border-radius: 8px;
    min-width: max-content;
  }

  /* Asegurar ancho consistente entre imagen e info */
  .contenedor-dinamico {
    flex-direction: column;
    height: auto;
    margin-top: 1rem;
    padding: 0; /* aseg�rate que no hay padding que desalineen */
	  margin-top: 50px;
	  margin-bottom: 10px;
  }

  .columna-izquierda,
  .columna-derecha {
    flex: 1 1 100%;
    padding: 0; /* Elimina paddings para que encajen al 100% */
    width: 100%;
  }

  .columna-derecha {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    background-image: none;
    padding: 1rem;
    box-sizing: border-box;
  }

  .columna-derecha h3 {
    font-size: 2rem;
    text-align: center;
	  font-weight: 700;
font-family: 'Inter', sans-serif;
  }

  .columna-derecha p {
    font-size: 1.3rem;
    text-align: center;
	  font-weight: 500;
font-family: 'Inter', sans-serif;
	  line-height: 1.4rem;
  }

  .tarjeta-imagen {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
  }

  .tarjeta-imagen img {
    width: 100%;
    display: block;
    border-radius: 0; /* Elimina radios si quieres bordes planos */
  }
}



