/* --- ESTILOS GENERALES (PARA TODAS LAS PANTALLAS) --- */
:root {
  --negro: #000000;
  --bg: #fff5fc;
  --font: "Aspekta", sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg);
  font-family: var(--font);
  color: var(--negro);
  overflow-x: hidden;
}



.volver-tiempo {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0026ff;
  padding: 0.5rem 0rem; /* Padding original */
  font-weight: 550;
  font-size: 1rem;
  text-decoration: none;
  z-index: 1000;
}


/* --- 👇 TEXTO FIJO (Visible en Desktop) 👇 --- */
.texto-fijo {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 250px;
  font-size: 0.9rem;
  line-height: 1.3;
  z-index: 500;
  /* También le quitamos el fondo para mantener la consistencia */
}


/* --- GALERÍA CON CSS GRID --- */
.proyecto-galeria {
  padding: 2rem;
}

.proyecto-bloque {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 1rem;
  align-items: start;
}

.imagen-full {
  width: 100%;
  height: auto;
  display: block;
}

.texto-gris {
  grid-column: 1 / -1; 
  text-align: center;
  padding: 4rem 1rem;
  margin-top: 2rem;
}

.texto-gris h1 {
  font-size: 10rem;
  font-weight: 600;
  margin: 1rem 0;
  color: #a9a9ff;
}

.texto-gris h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #d03715;
  text-transform: uppercase;
}

.texto-gris p {
  font-size: 1.1rem;
  font-weight: 550;
  color: rgb(50, 37, 50);
}


/* --- 👇 REGLAS PARA MÓVILES (PANTALLAS DE 768px O MENOS) 👇 --- */

@media (max-width: 768px) {

  /* --- 👇 TEXTO FIJO (Ahora visible y reubicado en móvil) 👇 --- */
  .texto-fijo {
    position: fixed; /* Quitamos el 'fixed' para que fluya con el contenido */
    max-width: 100%; /* Ocupa todo el ancho */
    text-align: center; /* Centramos el texto */
    padding: 2rem 1rem 0 1rem; /* Le damos espacio arriba y a los lados */
  }

  .proyecto-galeria {
    padding: 1rem;
  }

  .proyecto-bloque {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .texto-gris h1 {
    font-size: 5rem;
  }
}
